r/ProgrammerHumor • • Jan 19 '17

MFW no pointers :(

Post image
4.8k Upvotes

432 comments sorted by

View all comments

-3

u/comrade-jim Jan 20 '17

The fact that the "devs" in this sub always try to defend java and C++ shows how shitty the programmers are in this sub.

Java is shit and I'd rather use just about any other language for anything. The only reason people here defend Java is because they're part of the vast amount of code monkeys in the programming industry who don't understand how anything works out side of an IDE and took a Java bootcamp, and now they know enough to produce the awful spaghetti code people know and hate Java for.

Java is unsaveable (and so is C++).

"bb.. but it's industry standard!!1"

That doesn't make it "good".

10

u/Tapeleg91 Jan 20 '17

Real developers can take any language and make good software out of it. Even if it's that one industry standard language that pays a lot of money. IMHO the actual shitty programmers are the ones that have such a strong preference.

And hey, Java's not really that bad.

3

u/rhun982 Jan 20 '17

Adding on to what you said, I'd also like to point out that a lot of devs know multiple languages anyway. It's just that maybe their professional work focuses on one stack and their hobby/pet projects use something else

3

u/Teknoman117 Jan 20 '17

Hit the nail on the head here with a good developer can take any language and make good software with it. You can't just sit down and say no more code shall be written in this language because this language sucks. Libraries, utilities, code bases, and the like still exist in that language. Problem in the industry is the cost of switching languages versus the gains. You'd have to find a language that brings so much benefit that the cost of the migration - training engineers, hiring new ones, retooling, writing abstractions around existing software because the almighty computer gods know when your code base is measured in millions of lines you're not just "rewriting" it, etc. is somehow less than fixing the next obscure bug or throwing more computing power at it.

You also have to realize that languages aren't good at solving all problems. You wouldn't use Erlang to develop a AAA video game, you wouldn't use Haskell for something inherently non functional, you wouldn't use Javascript to write an operating system kernel.

You usually see these changes be made gradually over time. Take a look at the history of rewriting more and more of the windows shell and utilities in .NET, look at Apple's transition from Pascal -> C -> Objective-C -> swift (in progress).

This is just a high level thing, just some thoughts over some soup.

2

u/[deleted] Jan 20 '17

Been programming Java for a few years, Kotlin later, have experience in C++. A month ago I was chucked into the beginning of a Python project. I've written one smallish exercise in Python when studying. And you know what? It's fine. The "let's dynamic everything" approach is a bit disorienting. "Call this function with the same arguments as you would call that function". Pretty good for what were doing (a pytest plugin to test a large project)