Re:Near Future of Programming Languages [pdf]
by throwaway7645 on Monday October 30, 2017 @06:17AM
(#15584009)
It doesn't bother you that huge portions of our tech stack are sitting on top of layers of terrible language design that our ancestors will have to deal with? Perhaps the parent post is looking more to the future. Of course it all still works, but when you think we could be doing the same job with Lisp, Smalltalk, (insert any non perfect, but much better than JS technology), it does make me cringe a little.
Re:Near Future of Programming Languages [pdf]
by marcosdumay on Monday October 30, 2017 @09:02AM
(#15584669)
> that our ancestors will have to deal with
You meant descendants?
Anyway, they won't. They will throw away the garbage and rewrite anything good they find. Just like we do.
Re:Near Future of Programming Languages [pdf]
by throwaway7645 on Monday October 30, 2017 @11:56AM
(#15585980)
Haha, yes my goof up. I disagree that they will rewrite though. Nobody is willingly rewriting millions of loc.
Re:Near Future of Programming Languages [pdf]
by pdimitar on Friday November 03, 2017 @04:49PM
(#15622114)
Well, you were right about one thing: you don't get it. ;)
Just look at the prototype hell. Look at the quirkiness of the comparison operator. Type inference. The mess piles up extremely quickly.
"Disciplined devs don't make those mistakes" is NOT an argument and never was. Decades later, people believing themselves to be godlike C/C++ devs still make stupid mistakes.
But I guess learning from the past won't happen for people who fanboy and have a survivorship bias. And have money on the line.
Re:Near Future of Programming Languages [pdf]
by d13 on Monday October 30, 2017 @06:49AM
(#15584112)
It's flawed because 99.999% of the time your code will work just fine. Job done. Then one day, "undefined is not a function" and your airplane falls out of the air.
Re:Near Future of Programming Languages [pdf]
by giantsloth on Monday October 30, 2017 @07:51AM
(#15584325)
This happens in all languages... look at the Toyota acceleration bug for a real world of example of your hyperbole. They were using MISRA C. Languages dont fix spaghetti, laziness, tight deadlines, bad engineers, etc.
Re:Near Future of Programming Languages [pdf]
by marcosdumay on Monday October 30, 2017 @09:04AM
(#15584677)
> This happens in all languages...
To some extent, yes, that happens in all languages. To some extent 10^100 and 1 are both numbers. That does not mean you can even compare them.
Re:Near Future of Programming Languages [pdf]
by AnimalMuppet on Monday October 30, 2017 @01:01PM
(#15586713)
I'm not sure you can do spaghetti and still do MISRA C. Doesn't MISRA have some things about goto, cyclomatic complexity, and such?
What language is not flawed? And why are we "screwed"? I don't get this FUD...there are more important things than language-choice such as dependency management system + community + ecosystem. JS lets you get on with the job and get things done quickly. You need performance - use C/C++ bindings. Its been clear for a long time that JS is the safest long-term choice and is slowly creeping into every other language's castle.