News for hackers. Stuff that matters.
Re:F***ing Learn to Code Again (1999) by moron4hire on Monday March 23, 2015 @01:10PM (#9252003)
The programming advice it provides is good[0], but I'm ultimately struck by how whiney and entitled this sounds. People respond in this manner when they feel like they have some sort of position they have personally gained through their own work that is now being threatened. The arguments often only hide an insecurity that the methods the "traditionalist" used to gain their position are dying out, that a new breed is forming, using new techniques that they don't understand, but that they inherently recognize have the potential to be universally (or near-enough) superior, if given the time to be developed. Thus the need for the immediate, preemptive attack: to cut out the nascent ideology before it has a chance to establish roots.

I think the anti-intellectual aspersions cast towards computer science students is a good indicator of this. The techniques he holds dear are only possible because of computer science. Computer Science is a field of applied mathematics that some people dream will one day be treated like a field of theoretical mathematics, to gain standing and respect in the world of mathematics that traditionally looks down upon the applied fields like CS, statistics, cryptography, etc., in much the same way that "aht" artists look down on illustrators. I think he writes off an entire field of study just because occasionally, specific people--caught in this cultural divide between applied and theoretical mathematics--write some shitty code.

Let's see him come up with IEEE floats on his own. Let's see him conceive of 2's compliment signed integers on his own. Let's see him come up with an assembler on his own. Without prior exposure to the concept.[1] You don't get Dijkstra's path finding algorithm with an ivory-tower attitude that doesn't care about the practicalities of implementation.

It's not like people are or were getting paid to do this. People did it for fun. If you don't like something that people do for fun, just walk away. The reason these things happen, that we see "bad" examples is not because people are getting worse at doing this stuff, it's because new people are finding it easier to get started. Angry diatribes like this are just attacks at new people when they need encouragement and guidance.

[0] Well, to a degree. His field is "clever hacking of X86 assembly". A similarly "clever hacking of dynamic programming languages" exists that necessitates completely different techniques. I'm reminded of the 30-LOC spreadsheet in JavaScript that showed up about a year ago: https://news.ycombinator.com/item?id=6725387

[1] I'm reminded of a joke. Some years in the future, a man goes to God and says, "God, science has progressed so far that we don't need you anymore." God smirks a little and replies, "Oh really?". Man says, "Yeah, and to prove it, I challenge you to a duel. Anything you make, I will make, too." And God answers, "Okay, well, how about a man?" And the man replied, "No problem. We know chemistry and biology and genetics, we can synthesize everything we need to make a man." He bends down and starts to pick up some dirt and some other materials to start making amino acids when God interrupts him, "Hey now, go get your own dirt."

Re:F***ing Learn to Code Again (1999) by MaulingMonkey on Monday March 23, 2015 @02:46PM (#9252642)
> The programming advice it provides is good[0]

> [0] Well, to a degree.

Well, parts of the high level strokes are anyways. Nowadays his inline assembly block example is likely to just interfere with the optimizer's own code analysis and do more harm than good.

The time spent suggesting trivial rewrites that optimizers are now capable of doing on their own would be better replaced with discussing how the CPU cache or branch prediction works, and it's implications.

Any modern discussion of optimization worth it's salt would mention profiling - entirely lacking here.

Re:F***ing Learn to Code Again (1999) by moron4hire on Monday March 23, 2015 @03:22PM (#9252849)
That's exactly right. And that was ultimately my point. The industry advanced past this person. I think the vitriol he displayed was because he--at least subconsciously--knew it would, rendering his then-current skill-set largely obsolete.

But that's the nature of our job. We have to constantly be learning new things. If we don't, we end up wasting time screaming at newbies in their sputtering jalopies for "doing things wrong" as they pass us by.

Re:F***ing Learn to Code Again (1999) by Moru on Monday March 23, 2015 @06:12PM (#9253655)
If we do learn new things constantly we risk burning out instead. Choose your poison :-)
Re:F***ing Learn to Code Again (1999) by moron4hire on Monday March 23, 2015 @07:18PM (#9253937)
That's not what causes burnout.
Re:F***ing Learn to Code Again (1999) by angersock on Monday March 23, 2015 @03:48PM (#9252963)
Let's see him come up with IEEE floats on his own. Let's see him conceive of 2's compliment signed integers on his own. Let's see him come up with an assembler on his own. Without prior exposure to the concept.[1] You don't get Dijkstra's path finding algorithm with an ivory-tower attitude that doesn't care about the practicalities of implementation.

At least as far as the assembler, well, that's something that anybody who is sick of hand-keying in machine code and patching up addresses will probably think of.

As for the rest--well, modern CS folks (nor electrical engineers!) aren't coming up with 754 or 2's complement either.

Re:F***ing Learn to Code Again (1999) by cbd1984 on Tuesday March 24, 2015 @03:12AM (#9255238)
> At least as far as the assembler, well, that's something that anybody who is sick of hand-keying in machine code and patching up addresses will probably think of.

And then reject, because it's inefficient and hand-keying machine code is more efficient and more hardcore. Or at least, that seems to be the common attitude in the demoscene.

Re:F***ing Learn to Code Again (1999) by skrebbel on Monday March 23, 2015 @03:58PM (#9253019)
Oh come on, the author was like 19 when he wrote it. Of course it's a little entitled and ranty :)