• 1 Post
  • 10 Comments
Joined 1 year ago
cake
Cake day: June 9th, 2023

help-circle
  • I entered the world of Java a few years ago, there were already memes about eclipse back then, so I was prepared to prefer Intellij.

    I tried both. Intellij is much more polished, it had some annoying bugs too, but the selling point for me was that eclipse was (is) really good at syncing every change directly to wildfly. This is a huge timesaver. The maven to eclipse plugin I think?

    I’ve tried with jrebel but it’s not as quick and reliable as with eclipse.

    I am fully prepared for a solution where Intellij is better so please let me know, but no one in our organisation (which has about 50 devs) has found it.











  • I’m not sure if you really want to know, but:

    greater than, smaller than, will cast the type so it will be 0>0 which is false, ofcourse. 0>=0 is true.

    Now == will first compare types, they are different types so it’s false.

    Also I’m a JavaScript Dev and if I ever see someone I work with use these kind of hacks I’m never working together with them again unless they apologize a lot and wash their dirty typing hands with… acid? :-)

    edit: as several people already pointed out, my answer is not accurate. The real solution was mentioned by mycus