...derp?
Best posts made by Smitty
-
RE: Nobody shares knowledge better than this
I'm sure this question has been asked innumerable times on this forum, but WTF is the deal with SpectateSwamp? For a while I tried to convince myself that he's just the most committed troll the internet has ever seen, but now I'm leaning heavily towards serious mental imbalance instead. Having read the source for SSDS (or staring into the face of Cthulu as someone said earlier; that one made me spray coffee out of my nose), I can't believe that anyone would take trolling this far.
-
RE: Representative Unit Test
You get to work with offshore devs who even attempt unit tests? Christ I'm jealous.
-
RE: Make sure it's initialized!
@dtech said:
Meh. I consider it good practice to declare your variables at the top of the method. Some style checking tools even have rules for it. 1/10Still writing Fortran are you? Allow me to step off your lawn.
-
RE: Nobody shares knowledge better than this
@SpectateSwamp said:
What about "Restricted Knowledge" where-by only the Paleos can go dig up my Dinosaur Skin find. Boo Paleos and your we dig only attitude.
What the fuck?
-
RE: Guaging Knowledge via the Ternary Operator
@scgtrp said:
The stupidity of other people is not an excuse to avoid using your own intelligence.
I'm with you on this one. A reasonably-used ternary operator is just as easy to read as an if/else. I'm not going to deny myself the use of a handy tool based on the chance that some idiot will see, misinterpret and abuse said tool. I never learned about the ternary operator in school; the first time I saw it, I did the obvious thing (to me at least) and found an experienced dev to explain.
I ran into something similar here at my current job. Management tried to tell us that we're forbidden to use the #if DEBUG preprocessor directive under any circumstances because one of our asshat TFS admins likes to compile code in debug mode and deploy it to production.