...derp?
Smitty
@Smitty
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.
Latest posts made by Smitty
-
RE: Subversion 1.8 and Jenkins
We found that Jenkins couldn't deploy code across a one-way trust network boundary so we switched to Thoughtworks Go. There was a bit of a learning curve but so far it works beautifully.
-
Infosys strikes again
One of the iOS applications I support at work contains a nice little method whose sole responsibility is to create and display an alert. It's short and clean and serves a single purpose, taking no parameters and returning void:
- (void)showFooAlertView
{
// Setup and display code
...
...
}Today one of the offshore devs submits a pull request and changes the method to this:
- (BOOL)showFooAlertView:(BOOL)shouldShowAlertView
{
BOOL shouldShow = NO;
if (shouldShowAlertView)
{
// Setup and display code
...
...
shouldShow = YES;
}
return shouldShow;
}That's right. Now you can call a method with a single clear purpose and at the same time tell it not to perform its single clear purpose, and as a bonus it will even tell you what you told it to do. I was naturally curious as to the value added by this modification. When I asked I was informed that this was done to "increase readability" and "make the method understandable to everyone".
-
RE: Help me find the wtf's ?
@asdf323 said:
Does anyone else have an opinion on the subject.
I have an opinion on ending questions with periods.
-
RE: Representative Unit Test
You get to work with offshore devs who even attempt unit tests? Christ I'm jealous.
-
RE: It's a good thing that Mozilla fixed all those Firefox memory leaks!
Out of genuine curiosity, is it faster/easier to find what you want among 400 tabs instead of organized bookmarks?
-
RE: Not sure if it's WTF-worthy
@Anonymouse said:
@boomzilla said:
The worst case is that anonymous people on the internet insult you.
Since blakeyrat has left the forum, the odds for that have dropped an estimated 300%.He genuinely left? I figured it was sand-in-my-vagina bitch-fit #236234.
-
RE: Replacing a CRM solution should not be this difficult...
@Nexzus said:
Oh, and they used Peregrine Service Desk. I despise that software.
Fuck. Peregrine. That is all.
-
RE: Can it get infected over the air?
@garrywong said:
"Can it get infected over the air? I mean your phone, like an airborne virus?"
I think I should have replied something snarky like "better get a facemask, just in case", but I hadn't yet developed the cynicism at the time.Be grateful there are so many people like that user. As long as people continue to view computers as scary voodoo black magic boxes, we'll continue to get paid a bunch of money for work that often isn't terribly difficult.