73
atroot
8y

*Doing Java after using Python for a year*

;
Hide and seek champion 2016.

Comments
  • 1
    Use IntelliJ as your IDE. It should tell you straight away that a semicolon is missing :)
  • 0
    @tahnik I like it too. Before I used to work with NetBeans, but I love IntelliJ and other JetBrains products. I'm a student, so everything is for free :D
  • 0
    @tahnik ... or just get used to terminating statements with Ctrl + Shift + Enter (or whatever it's mapped to).
  • 1
    @kamen haha didn't know that. Seems easier to write the semicolon and then enter
  • 0
    @jstaiyo It depends. Once it gets in your muscle memory it's okay, moreover it saves you a Ctrl + Alt + F after that since it terminates the statement and autoformats it (I'm usually too lazy to add spaces between operators, and yet I like my code tidy).
  • 3
    I bet your java code is very well indented =)
  • 0
    @kamen I have my Eclipse setup to auto-format my edited code on save, which also saves me a few keystrokes
  • 0
    @Larsg310 Me, I rarely save stuff, I rely on autosave when the IDE loses focus. One of the few occasions I do save is when I want to forcefully trigger a watcher.
  • 0
    "Whatever works for you" still counts though.
  • 0
    @kamen yeah, I hit Ctrl-S like every few seconds, just a habit
Add Comment