Skip to content
  • Is this spaghetti?

    The Lounge csharp design regex architecture question
    31
    0 Votes
    31 Posts
    0 Views
    M
    People do, in fact, speak with commas, periods, hyphens, etc. They are implemented in the length of time between words and voice inflections. Punctuation reflects how the words should be spoken as an intelligible phrase. Not using punctuation (when one can, of course) is just poor writing or laziness. As for the OP question "Is this spaghetti?", it depends on the context of the project as a whole. I lean towards the old saying, "The more they overtake the plumbing, the easier it is to stop up the drain." Or a similar old saying, "Make it as simple as possible, but no simpler." The context of the project as a whole may dictate the inheritance complexity you see, or it could just be some developer who understands how to implement some arcane design pattern, but not why or when it is apporpriate.
  • 0 Votes
    5 Posts
    0 Views
    D
    den2k88 wrote: shrubbery Ni! Ni! Ni! Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
  • SUGGEST

    Site Bugs / Suggestions help architecture
    7
    0 Votes
    7 Posts
    0 Views
    L
    True.
  • ListBox selection through code, in MVVM

    WPF wpf architecture question
    9
    0 Votes
    9 Posts
    7 Views
    realJSOPR
    I use ListViews. In fact. I wrote an article on CodeProject that illustrates a custom ListView control that can auto-generate columns based on the dataset being represented. It doesn't support editable cells, but it does have sort functionality (that can be toggled on a column-by-column basis, column name overrides, custom column formatting, and other stuff. Auto-generated columns in a WPF ListView[^] ".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
  • 0 Votes
    3 Posts
    0 Views
    K
    Hey, just what you see, pal! TTFN - Kent
  • (Bad) Joke

    The Lounge question adobe architecture
    3
    0 Votes
    3 Posts
    0 Views
    O
    My wife once told me that I needed a support group for recovering backpackers. I told her that 12 steps wasn't a very long backpacking trip.
  • 0 Votes
    2 Posts
    5 Views
    L
    Seems simpler to run in parallel (i.e. track) than to "intercept" in series. You know the content and you know when it starts; you have one sync point. It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • Ocean Wraps

    The Lounge com design architecture question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Good Book?

    The Lounge architecture help question discussion learning
    13
    0 Votes
    13 Posts
    0 Views
    C
    Truth, as I glance at the books behind me that haven't moved since the pipe burst. Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.
  • 0 Votes
    2 Posts
    0 Views
    N
    It looks like you wouldn't believe in their "do no evil" slogan :rolleyes: M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • Overall migration strategy

    The Insider News com architecture
    3
    0 Votes
    3 Posts
    0 Views
    J
    I see the headline now: "Canadian man dies of sarcasm overload."
  • Blockchain Hackathon

    The Lounge com sysadmin architecture question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • Quick MVVM Design Question

    WPF wpf design architecture help question
    6
    0 Votes
    6 Posts
    7 Views
    realJSOPR
    When I instantiate a VM, it typically instantiates the model on its own, which retrieves the data (from a database, xml, or json file). If the requirements call for modifying/saving the data, I keep the model around in a protected property inside the viewmodel. Most of the time, I set the data context to the form, and bind controls to the viewmodel(s) and various other properties. I don't think I've ever set the data context to a specific viewmodel because that just means more typing. ".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
  • 0 Votes
    9 Posts
    0 Views
    B
    :rose: «The mind is not a vessel to be filled but a fire to be kindled» Plutarch
  • Thunderbird is such a PIG

    The Lounge csharp css architecture performance question
    5
    0 Votes
    5 Posts
    1 Views
    F
    Dun de dun, dun dun... ;-) - I would love to change the world, but they won’t give me the source code.
  • 0 Votes
    3 Posts
    2 Views
    K
    This is my home controller.... Where I am passing value in query string....... using IdentityModel.Client; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ModelBinding; using Newtonsoft.Json; using NLog; using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using Newtonsoft; using System.Text.RegularExpressions; using System.Net.Http.Headers; using System.Diagnostics; using Newtonsoft.Json.Linq; using System.IO; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Options; namespace MYApp.Controllers { public class HomeController : Controller { Logger logger = LogManager.GetCurrentClassLogger(); private string clientId = ""; private string clientSecret = ""; private ModelStateDictionary ValidationMessages { get; set; } public class UserInfo { public string Addresses { get; set; } public string OriginatorNo { get; set; } public string OriginatorName { get; set; } public string ContactName { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string Email { get; set; } } public IActionResult Index() { try { //int a = 0; //int b = 1; //int c = b / a; string strUrl = "https://url"; if (Request.Query\["UserName"\].ToString() != string.Empty && Request.Query\["Password"\] != string.Empty) { HttpContext.Session.SetString("UserName", Request.Query\["UserName"\].ToString()); HttpContext.Session.SetString("Password", Request.Query\["strPassword"\].ToString()); } } catch (Exception ex) { } } public class ContactPerson { public string FirstName { get; set; } public string LastName { get; set; } public string Email { get; set; } public string IncludeInEmails { get; set; } } public IActionRes
  • Just found out about ULID

    The Lounge question com adobe architecture
    8
    0 Votes
    8 Posts
    0 Views
    J
    What's the actual chance? Wrong is evil and must be defeated. - Jeff Ello