46 points · by panic · 3y ago · 54 comments
>
> Quit programming. Become a rock star, actor, or corrupt politician. The odds of getting rich in these fields, however slight, are probably better than in programming.
Well, this one is pretty debatable at best.
That’s not to say that it isn’t a good career, but you could do far better with less effort in other fields.
Now, I'm not saying you'll be a millionaire, but definitely have somewhere in the ballpark of 100k in the bank after 2-3 years.
I am specifically talking about how the seem to have forgotten (omitted?) parametric polymorphism, the absence of sum types, presence of "nil", lack of type inference?
This is a Go specific problem, which was created with a very explicit anti-intellectualist stance and threw out 40 years of PL theory and practical research.
They're easier to pick up and support the idea of plug and play programmers that is very popular among managers.
Productive as a consequence of the above, maybe; in that more code is written in Go; but certainly not as a quality of the language.
And there's numbness and denial involved. I've been writing Go full time for about a year now at work. Every time I use another language I'm reminded of how much time and energy I'm wasting.
JavaScript, PHP and C are also widely successful, despite their design flaws.
Technical excellence doesn't driver adoption, unfortunely.
Go was designed for internal use at Google, and one of the primary goals was to reduce compilation time for huge codebases (the size of Google monorepo). For such amount of code even `javac` was too slow for them. To solve this problem, Go was designed to be compiled with 1-pass compiler (similar to Pascal and Modula-2) which makes features like generics and type inference very hard (if not impossible) to implement.
ISO Modula-2 common extensions (including generics),
https://modula2.awiedemann.de/manual/comp3.html
While using Go is certainly better than plain C, most of its design steams from the authors' bias.
I was under the impression Go originally avoided generics more for a perceived abstract complexity for developers, the idea being they are hard to understand for new recruits.
Creating a new general purpose language with such a limited feature set - that it’s likely to result in even more code - seems to be an odd solution.
There's more to designing a useful language than is found in Pierce's book. The Go design team had some very specific things they were trying to do, and they did pretty well at doing them, and they produced a language that some people have found to be useful for writing some kinds of software. I'm going to guess that they had a lot more experience at actually writing software than Pierce did. So maybe you shouldn't automatically assume that Pierce is the final word, and that anyone who decides different has to be wrong.
In 2002. Jeez.
Before that, there was the AI hype of the 1960s. That was Lisp-based. That failed into the AI winter.
So, yeah. The dream of AI has been around long before 2002. Of course, the definition of "AI language" when the article was written probably does not match the current one...
(Or were you complaining that 2002 was too late for "I've heard that AI is the way to do things"?)
> Based on this information, you should select one procedural language, one object language, one scripting language, and, possibly, one assembly language which will comprise your core skill set.
but only because realistically you should discard 'assembly language' and swap it for 'browser-supported language' these days. Learning assembly language is basically useless at this point.
I whole heartedly disagree. There’s an entire class of performance tuning you can do to math intensive applications that absolutely require knowledge of assembly to squeeze that last 0.5% out of the machine.
Video Games, Video Editing, Image Editing, Simulations, Scientific applications, all benefit from having some assembly sprinkled into their algorithms for speed.
Because of this, I don’t need crates or packages to do things for me, I’m capable of doing it on my own. I’m capable of building a 64kb demo scene executable. I’m capable of building a hardware accelerated video decoder. I’m capable of parallel vector operations because I can haz assembly. I can disassemble and reassemble binaries, libraries, files, stacks. I can even inject my own code.
If you have no need for speed and efficiency, then I’m sure a browser-based desktop app with some JavaScript will be fine for your use case.
Hard disagree. HN tends to lean toward the browser-programmer crowd, but it's a big world out there, and there are lots of very small computers that don't run a browser. I would go so far as to say that assembly languages in general are a bit like lisps in general: learn one, and even if you never use it, you'll be a better programmer in other languages.
However, I'm now at a point in my career where I want to get out of the rat race of web development. Are there any programming languages or domains that are "functional/declarative oriented" but actually have jobs? (Note that I don't necessarily mean that I'm dead set on only purely functional programming languages. I would love to get a job working with those, but all I really need is something like that's functional/declarative enough for it to make sense to me.)
Scala probably has the most, but there's also a lot of people who insist on pretending its Java, so it's hard to say how many of those are really functional codebases.
If they’re language specific, then for typescript, Ruby, and Kotlin.