I'm trying to implement the Service Locator pattern. In the below diagram is my references between projects (.net projects), each box represents a project.
The arrows indicate the dependencies.
I am asking if this is a correct implementation of this pattern or is there a better way?
This is what The Whiteboard has become. All of the interesting people have left, and the only ones that remain are those of us with our tongue hanging out of our mouth.
@RandomDavis this is a specific question about C++. Why would this be better for programmers.stackexchange.com? — user65026114 secs ago
@RandomDavis well this is important for me to understand where to start debugging my specific code that is having very small numerical errors. The programmers stack exchange is described as "site for professional programmers interested in conceptual questions about software development." I would not consider this conceptual, I would consider this quite concrete. — user65026123 secs ago
@Duga CS maybe. The way he has it phrased it's kinda theoretical.
I dunno, I don't understand SO any more. I sort of uncontrollably lost interest after the zillionth time I closed a duplicate "What is a NullPointerException?". It makes me happy to see non-debugging questions there. But nobody understands me, lol.
It all depends on how far off topic you want to go, and what interests everyone. For example, I'm trying to figure out if a trampoline would be any use to getting up high enough in my apple tree to get the apples
As my body released the salts into my bloodstream to waken my brain, I opened my eyes. I slipped my leg out from under my wife's ankle, and seamlessly rolled into a standing position. Grabbing my eye-glasses, I walked out the bedroom door, gently closing it - and sitting on the couch, I flipped open my laptop to check out my stackoverflow rep...
While I disagree with the posturing over unit testing that's taking place in the answer below, they do make a good point: stop measuring this, and stop trying to find "acceptable metrics." You already know if your method is too complex just by looking at it. — Robert Harvey1 min ago
@AaronHall Yes, because lying to people to get them to elect you is a totally useful skill in the international leadership arena.
I'm not sure I should ask a question on programmers about this
I'm looking for proportional fonts specifically designed for programming, and I would just like to ask if there is a name for that category of fonts (NOT ask for suggestions i.e. which fonts apply for that category)
I've been using a proportional font for programming for two years and I'd like to explore other styles, but searching only yields a few results on Google, and I thought maybe I'm just searching it wrong
Most developers I know (myself included) just use a regular mono-spaced font like Courier or Lucida Console. I prefer Lucida Console myself, but it's mostly up to preference. The mono-spaced fonts are good for keeping code lined up and being easy to read for quick mental parsing
But about your point, yes mono spaced fonts are good for mental parsing, and they are out of the bow better for programming. especially since symbols such as the period have the same width as whitespaces, they essentially act as whitespaces, and whitespaces in proportional fonts are just too narrow to mentally separate the various tokens so I completely understand what you're referring to.