Useful Java snippets
Starting this post to keep track of some useful Java snippets I use/come across.
Starting this post to keep track of some useful Java snippets I use/come across.
Enums instead of booleans
The following are some global IntelliJ defaults that I use. Hope they’re helpful to you as well.
Came across this very useful visual representation of SQL joins today. It makes them much easier to understand by modelling the tables being joined as sets.
Let’s start with the assumption that null is evil. There are a million posts out there on this topic, so I won’t beat a dead horse on that.
Transitioning Swagger annotations from version 1.5 to 2.0 can be a chore, as a lot changed with Swagger falling under the banner of the Open API Initiative. ...
Need to share AWS keys securely with a coworker? Don’t want to just paste them in Slack? OneTimeSecret is the way to go.
Sometimes, after changing your project’s JDK, you may run into an “invalid target release” error during compilation.
A list of companies and places with interesting name origins.
Sometimes you’ll come across a clazz variable in Java code. I got curious and dug into where this originated from. I found this answer on StackOverflow: