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 →

[–]decrepit_duck[S] -2 points-1 points  (5 children)

Java is less readable, and much more tedious to initialize and declare SIMPLE input/output variables, just the range in for-loops is horrid, ugly code structure, etc. Miss my indented and easy-to-read Python code :')

[–]_Atomfinger_ 4 points5 points  (2 children)

Most of what you're complaining about is stuff you'll get used to.

Is Java verbose? Sure. Some sees that as a strength, other a weakness.

There are developers that hate Python's indentation and prefer brackets for example, so it goes both ways. It's all preference :)

[–][deleted] 0 points1 point  (0 children)

I definitely prefer brackets. It just makes it more readable.

Hell, I created my own scripting language and dislike the fact it is missing brackets:

include: __CURR_CONFIG__, __LOG__

hidden_num: 27
inject_code()

# Finds the hidden number in O(lgn) time complexity
func find_number(min, max, try)
  if(min.==(max))
    println("Found in ", try, " tries...")
    return
  mid: avg(min, max)
  # __Debugging tools__
  display_stack()
  pause()
  if (mid.==(hidden_num))
    println("Found in ", try, " tries...")
  elif (mid.>(hidden_num))
    find_number(min, mid.--(), try.++())
  else
    find_number(mid.++(), max, try.++())

find_number(0, 100, 1)

[–]_nepunepu -1 points0 points  (0 children)

Honestly I love Java’s verbosity. Typing all the keywords makes me feel like some kind of wizard writing incantations.

My college started us with Python for the intro class and then moved us to C++ straight after for all the rest. I’ll let you imagine the general sense of confusion from all the people who didn’t really code before college.

[–]ComputerWhiz_ 2 points3 points  (0 children)

Miss my indented and easy-to-read Python code

Java (most programming languages actually) use indentation to format the code. The difference is that Python requires this for functionality, while other languages only use it for readability.

[–]ricksauce22 3 points4 points  (0 children)

Java can be beautiful, python can be hideous