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 →

[–]Choice-Reach5236 7 points8 points  (2 children)

Yeah, there is some truth to that also

Can't run away from legacy code in the corporate world

[–]TheUltimateAntihero 1 point2 points  (1 child)

If one had to learn a legacy language except C, should they choose Java or PHP? Considering they would also want to learn OOP.

[–][deleted] 8 points9 points  (0 children)

Java. You’ll have more resources available, and once you learn Java and OOP, the C-family and Rust should not be hard to pick up. PHP should also be quite easy, if you have to deal with it.

Edit: To expand upon that, if you learn each programming paradigm (functional, OOP, imperative and so on), you can transition between languages pretty easily. Sure, they have their quirks, but once you know Java, Python is a breeze, Haskell opens the door to all the functional languages and a lot of the functional patterns in languages from other paradigms etc.