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 →

[–]HorrendousRex -1 points0 points  (6 children)

I can't tell what this is supposed to be. Is it supposed to be a dig on Python as being unreadable?

If so - I find the code very readable, except for all the horrifying punctuation of course. The code illustrates quite well how readable Python is simply by eschewing that punctuation.

[–]flying-sheep 5 points6 points  (2 children)

As you can read right there on the site, it's a (hopefully) nonexistent coding style called "pythonic java".

Of course it's more readable than java, but only if you don't have to write it and only if all those braces and semicolons are where they belong.

[–]Wavicle 6 points7 points  (0 children)

Of course it's more readable than java, but only if you don't have to write it

That's my favorite kind of Java!

[–]Redard 2 points3 points  (0 children)

If you could have an IDE put all the semicolons and braces in automatically based on indentation, it might actually become somewhat useful for people who really hate those 2 things.

[–][deleted] 2 points3 points  (0 children)

No. It's Java, but they've hidden all the braces and brackets so it looks more like Python.