Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
I guess because the variable name doesn't hint the type. A variable like isAvailable is most likely a boolean. This is a value from a dictionary which could be any type and automatic type conversion could save your ass at runtime.
zvyn8933yWhich language? For some languages this would avoid casting to bool implicitly and fail for "truthy" values like ['an array', 'with', 'content'].
Edit: I would accept the diff above for any language where it can make a difference and you are expecting a boolean. Explicit is better than implicit.
Gogeta7018FUCK! agshdklgdahgisdahl;k! I just spent 45 FUCKING MINUTES debugging try to figure out WHY THE HELL a functi...
AdrienNini4New episode on my clients being morons. Got a call this morning: Client: hello, we've got a problem here... M...
Veleon0I just wrote a function that creates a configuration struct that is stored in a Singleton struct, but to creat...