22

I realized why do i like java the most. Error messages are easy to read and consistent. Never really had to look up an error because the message tells you exactly what is wrong. Hell, you could write a script to self-repair the errors because they are so obvious to fix.

Now compare that to my current stack, python and js....

Comments
  • 5
    Plus the compiling step goodness makes it hard for runtime errors to appear....but semantic errors in Java are harder to detect imho.

    Currently I am pretty happy with my work stack of Java and Php stack, the Java stack is easier to maintain because they had no option but to structure their codebase. That is always a plus in Java, whether they use certain advanced concepts such as ioc/di and stuff is beyon the point, the fact remains that one just needs to follow along the trail for an environment setup+packages+ the main function and voila!!

    Python is messier in the sense that everyone does it differently albeit a good codebase can be easier to read.

    Php and JS on the other hand....i love php and like Js, know them both well....but man....do people fuck shit up royally on those two...
  • 1
    @Condor 10 years of java, never had a npe

    @AleCx04 yeah, im noticing that i have to restart the server waaaay more than a spark server because the errors only appear when i do so :/
  • 2
    @Condor j2me... Was a different world, tried to make some apps, but that piece of shit threw exceptions left n right because there was no unified api, just hacking shit together. Had aaaa samsung s-something, the bigger screen corby, know that feel.

    Exceptions are a special type of class, there are a shitton, you can even make your own (if you dont mind being gutted by me). Common ones r StackOverflowExc and ClassNotFoundExc. You can kinda see why i think they are easy to debug haha.

    Here, these are funny http://rymden.nu/exceptions.html
  • 1
    @AleCx04 you also read that ^ link, im lol'ing
  • 1
    @sharktits this is awesome, loled pretty hard at the array exceptions
  • 1
    «Error messages are easy to read and consistent.»

    Well...
  • 0
    @xonya one of your reflected classes are not polymorphic and also if you use reflection, fuck you
  • 0
    @sharktits I usually don't use reflection. That error message is not so easy to understand imho.
Add Comment