No. Everything is absolute in programming, unless you're talking about race conditions, but I don't think you are, given "what little programming experience [you] have".
Nope. If your rules have exceptions, you wrote them wrong.
Sorry, I wasn't clear. Insofar as the way you interpretted "rules", you are entirely correct. Programming is very black and white (I mean, it's basically a really complicated semi-automated switch-board... how much more black-and-white can you get...) However, are there are absolutely no conditions what-so-ever under which you should use globals, singletons or non-boolean conditionals, ever? That's what I was trying to say, although I obviously used the wrong terminology.
- .net threading
- .net sockets
- .net xml parsing
- .net streams
(Pattern not intentional)
I've stayed as civil as I can, but this is ridiculous... .NET is great, don't take this the wrong way, but it is not the be-all-end-all library... it is many things, but it is not:
- Cross-platform
- Small (compiled/include size)
- Resource light
- Easily portable (Non-Windows 7 computers have to download a large file manually to run programs based on newer versions of .NET, not to mention differences in the version of .NET used, vs the version installed or non-PC Microsoft platforms...)
Now, it's great, it performs the task it was designed for superbly, but it is not a be-all-end-all library. I've used it, but I chose NOT to for some projects, simply because I wanted the project to be either cross-platform or small (which including either .Net, Boost, or anything similar kind of prevents...).
This is not a complicated concept... you don't even have to know much about programming to realize that there is very, very rarely (I admit there is on some occasions though) a single tool for every job. It doesn't make sense. A library can't be all-encompassing yet small in size at the same time, it just doesn't make sense. Now can we please move on? This is getting ridiculous. I'd gladly continue the discussion via PM or in a separate topic, but it's a waste of space in this thread. If you have something constructive to add, feel free to do so in a reasonably polite manner. Blacken is highly intelligent, he doesn't need you to defend him, and in fact sent me a PM about the subject before you even posted this.
@Qwertyuiopas - That's a pretty good one for the input challenge. A similar challenge was listed in one of the links from the original post, but had the program read a string (either from a file, input, command line, whatever), then output each word, along with any punctuation immediately following it, in reverse order. For example
Input:
"The quick brown fox, jumped over the lazy dog!"Output:
"dog! lazy the over jumped fox, brown quick The"