There’s always the fear of runtime errors that keeps us thinking all the time while writing code. It makes us better coders — we have no other option than to visualize every line of code as if it’s running as we write it.
I gathered some fun snippets I enjoy using instead of boring code that takes too much space. Some makes the code shorter, cleaner and more readable. Other are just plain hacks for debugging.