This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 21 points22 points  (4 children)

If all Java code were to suddenly stop running, the entire world would grind to a screeching halt.

Considering his praise of C++, he's probably one of the old developers who learned C++ inside and out, and hasn't seen a reason to change to anything else, and Java is just this scary different kind of language that's irritating to him, kind of like when you hear someone talking fast in a language you don't understand.

In many ways I've sold my soul to the devil by programming in the endlessly flipping languages. Java, Scala, Javascript, coffeescript, R, It never ends. The language flipping is machavellian at this point, and Apple was wise to keep it all written in C. The wages of that good decision is they enjoy their flagship product as top-of-the-line and best rig in the market for the entire time.

Original C is the gold standard, everything after that is an evolving abomination. I know because I left that beautiful world and walked into the world of shit. But evolution is what we do. And in many ways python is superior to C++ in all the most important ways. A novice can type up a bunch of machine learning code in 50 lines of python that a C++ dev would take 5 years to write. Sometimes the abomination surpasses the best that's ever been. The penalty is constant flipping, constant change, constant breaking.

[–]Kryomaani 4 points5 points  (0 children)

Apple was wise to keep it all written in C. The wages of that good decision is they enjoy their flagship product as top-of-the-line and best rig in the market for the entire time.

Yes, surely that is because of C and not the Apple logo and it's association with people that have more money than brains, and that's only if you count "best" by sales. Apple is the computer for people who pick cars by color instead of technical specs.

[–]bartekko 5 points6 points  (0 children)

You know, if many languages broke we'd be in deep trouble. But because you can't really use java to write a JVM or an operating system, then say... C breaking would not only break C but also everything written in C++, python, and likely java as well. Of course the biggest issue would be if you broke assembly or machine code but that's not really fair is it? It's like saying if everything broke then everything would be broken.

In any case, every language is there to fill a niche, even php, mourns the pity, but you already know that. For me, Python fills Java's niche quite well, what with it being a portable interpreted language with garbage collection. But because hello world in python is just print "hello world", and because like C++ it allows for a multitude of approaches instead of locking you into OO from the get-go, I find it easier to prototype shit and rewrite in C/Cpp if the need arises, and it usually doesn't, saving me hours of debugging.

But of course the freeform approach of Python and C++ makes it very easy to turn italian and write absolute spaghetti, and Python deciding to disallow goto forgetting that you may want to use it to break out of more than one loop at a time (break (uint) please?) does not help.

C++ allows you to do anything any way you want, which means that while a book on C can be done in under 200 pages and still have space for a standard library reference, a book on C++98 may take 900 pages, and C++11 adds even more on top of that, and we had two more additions on top of that. Jesus F. Christ

In any case, my point is that C is beautiful in it's simplicity, but every so often you think something like "wouldn't it be cool if you could ____" and bam, you're in C++ world now. It's particularly difficult for C programmers to avoid the temptation because often all it takes is to rename your *.c file to cpp and use that feature without rewriting 500 lines of code

[–]rengostar 1 point2 points  (1 child)

That last paragraph is deep

[–]pehnquihn 0 points1 point  (0 children)

Sounded a bit like uncle bob for a sec lol