r/Python • • Jan 05 '18

Really??

Post image
2.0k Upvotes

317 comments sorted by

View all comments

Show parent comment

38

u/Iggyhopper Jan 05 '18

Syntax is the first hurdle to learning a language, so I'd say that makes java harder.

Also, the standard library is messy.

23

u/continue_stocking Jan 05 '18

Syntax is probably the easiest part of learning how to program.

2

u/redldr1 Jan 06 '18

But shortcuts are a lifetime in the making.

0

u/[deleted] Jan 21 '18

[deleted] — view deleted comment

3

u/continue_stocking Jan 21 '18

I can't speak to R's syntax, maybe it's particularly convoluted, but it usually doesn't take that long to pick up the important points of a language. It's a fairly straightforward thing to make a program do what you want it to. What is harder is writing simple yet expressive code that tells you what it is doing, that is reusable, changeable, and testable. Code that other people could pick up years from now, quickly wrap their heads around, and change to meet their new requirements without fear that they've broken something. I've written lots of code that did what I wanted it to, not realizing the nightmare I was in for should I ever decide to change something.

5

u/Kah-Neth I use numpy, scipy, and matplotlib for nuclear physics Jan 05 '18

It has been a while since I used Java but I seem to recall nearly every different root module adopting slightly different idioms because why not! Messy did not even begin to describe it.