AARRGGHHHH!!!!!
-
I absolutely despise when people say "oh, I'm using this because it reduces the amount of code I have to type". F**** me. If you don't like typing, why are you a programmer? I need a punching bag in my home-office. Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
-
I absolutely despise when people say "oh, I'm using this because it reduces the amount of code I have to type". F**** me. If you don't like typing, why are you a programmer? I need a punching bag in my home-office. Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
-
But isn't that essentially the only reason "we" use anything? I mean yes, I could write a Deflater from scratch, but I'll use zlib to reduce the amount of code I have to type..
harold aptroot wrote:
I mean yes, I could write a Deflater from scratch, but I'll use zlib to reduce the amount of code I have to type..
Well no actually, it's because someone's written it, tested it, and it's a shit load of code to write. But when it's something (think of a C macro, for example) that just obfuscates the code, that's what I mean. See my rant below this one. :) Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
-
I absolutely despise when people say "oh, I'm using this because it reduces the amount of code I have to type". F**** me. If you don't like typing, why are you a programmer? I need a punching bag in my home-office. Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
Same thing I see with Linq/Lambdas ; it's still just the
Cult of Fewer Keystrokes
. X| -
I absolutely despise when people say "oh, I'm using this because it reduces the amount of code I have to type". F**** me. If you don't like typing, why are you a programmer? I need a punching bag in my home-office. Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
I find this[^] to be somewhat therapeutic! :)
New version: WinHeist Version 2.1.1 new web site. When you are dead you don't know it, it's only difficult for others. It's the same when you're stupid.
-
Same thing I see with Linq/Lambdas ; it's still just the
Cult of Fewer Keystrokes
. X| -
Oh, yes, but I include that as part of Linq -- given that it was only added to support Linq's/Lambda's anonymous types.
-
I use (our team uses) var, where applicable. Nothing wrong with it, unless you are using notepad to edit your code. :)
-
I use (our team uses) var, where applicable. Nothing wrong with it, unless you are using notepad to edit your code. :)
-
harold aptroot wrote:
Are you one of Those People who use var instead of int?
no. I did say "where applicable". We use var on list returns and some lamda/linq stuff, but not everywhere. Edit: I have never run into an issue with "var". Visual Studio lets me know what the type is, if I need to know it.
-
harold aptroot wrote:
Are you one of Those People who use var instead of int?
no. I did say "where applicable". We use var on list returns and some lamda/linq stuff, but not everywhere. Edit: I have never run into an issue with "var". Visual Studio lets me know what the type is, if I need to know it.
-
To obfuscate variable type ;P
-
Ok good.
Slacker007 wrote:
"where applicable"
Well that's the thing. There's a school of thought that it is applicable any time it is allowed.
harold aptroot wrote:
There's a school of thought that it is applicable any time it is allowed.
I use ReSharper a lot, and it will ask you everytime it can to use implicit type declaration. So, I can see why some devs out there may think that it is good for everything. However, I have debugged code files that have had "var" all over the place, and it has not been an issue. If for some reason, I cannot tell the type, then hovering over "var" will tell you.
-
harold aptroot wrote:
There's a school of thought that it is applicable any time it is allowed.
I use ReSharper a lot, and it will ask you everytime it can to use implicit type declaration. So, I can see why some devs out there may think that it is good for everything. However, I have debugged code files that have had "var" all over the place, and it has not been an issue. If for some reason, I cannot tell the type, then hovering over "var" will tell you.
Try doing a code review in Crucible where someone's abused var and then see how you feel about that. ;)
-
I absolutely despise when people say "oh, I'm using this because it reduces the amount of code I have to type". F**** me. If you don't like typing, why are you a programmer? I need a punching bag in my home-office. Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
Marc Clifton wrote:
If you don't like typing, why are you a programmer?
Dunno, money? But seriously, it's the most boring part.
-
I am. Why the hell not? It's more aesthetically pleasing and in most cases it does not reduce readability (for me, for you - don't care). I haven't use it much in C# before C++11 assigned new meaning to
auto
. Then I started replacing crap like thisstd::unordered_map<std::string, boring_class>::const_iterator
withauto
and then moved the habit to C#. -
harold aptroot wrote:
Are you one of Those People who use var instead of int?
no. I did say "where applicable". We use var on list returns and some lamda/linq stuff, but not everywhere. Edit: I have never run into an issue with "var". Visual Studio lets me know what the type is, if I need to know it.
Slacker007 wrote:
Visual Studio lets me know what the type is, if I need to know it.
Irrelevent. Try reading newbie code posted in QA.
-
I absolutely despise when people say "oh, I'm using this because it reduces the amount of code I have to type". F**** me. If you don't like typing, why are you a programmer? I need a punching bag in my home-office. Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
Marc Clifton wrote:
If you don't like typing, why are you a programmer?
Voice control is always an option. I know devs who'd happily use it very loudly when inputting code that they (erroneously) believe to be genius, and only use the keyboard to input their dirty hacks. I'd say that there's a possible connection between those guys and your guys.
I wanna be a eunuchs developer! Pass me a bread knife!
-
I am. Why the hell not? It's more aesthetically pleasing and in most cases it does not reduce readability (for me, for you - don't care). I haven't use it much in C# before C++11 assigned new meaning to
auto
. Then I started replacing crap like thisstd::unordered_map<std::string, boring_class>::const_iterator
withauto
and then moved the habit to C#.Thank you. Exactly.
-
I absolutely despise when people say "oh, I'm using this because it reduces the amount of code I have to type". F**** me. If you don't like typing, why are you a programmer? I need a punching bag in my home-office. Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
Thank you, I needed a good chuckle this morning. I do enjoy your rants, they align with my thinking rather nicely.
Never underestimate the power of human stupidity RAH