Is hashCode() in Java records cached?
Many times during my talks covering Java records I was asked if the result of
hashCode() of a record is cached. Let’s see ;-)hashCode() of a record is cached. Let’s see ;-)equals() and hashCode()”. What if I told you this might not be always true…?After using Linux for quite a few years now, I’ve accidentally embarrassed myself. I spend a lot of time using terminal in various forms. I’m not sure I know all Vim quirks (not to mention Emacs, but let’s not talk about this operating system now), therefore I was pretty confident I know how to use the terminal emulator… Today I’ve found a nice new feature, really low-hanging-fruit, so I’ve decided to share it with you, along with some other goodies (maybe not some obvious to Linux neophytes) I’m being asked about after my talks.
shebang hasn’t been discussed deeply in the previous post. Let’s find out how can we squeeze this fruit in our beloved JavaScript(s). Is it possible to write the shebang in a way which makes it portable?@Value?’