staticTypes
- Karma
- 1
- Created
- May 11, 2019 (7y ago)
- Submissions
- 0
Fucking JavaScript.
Strong static types have always been awesome, because there are no mysteries, no surprises. A chair is a chair. A wheel is a wheel. Fire is hot and water is wet.
But, hey, fucking JavaScript, so look at my bullshit variable! Is it a function? Sure! Does it have properties! You bet! Is it a chair? Who the fuck knows! The 'legs' array is undefined... Can we make it a chair? Of course! I need a wheel, can we make it a wheel too? You betcha! Just assign more fucking properties! Yayyyyyyyyyyyyy!!!
Hey, can I post this retarded data bag right the fuck back over to two different API endpoints? Why the fuck not? Okay, assholes, check out my greasy, cheese filled, swiss army bullshit unicycle or whatever the fuck this is, I don't even fucking care anymore, because I can't wait to just become an amnesiac, dump my client side session cache and pretend this whole fucking nightmare never even happened.
And you know why, right? Fucking JavaScript. Strong static types have always been awesome, because there are no mysteries, no surprises. A chair is a chair. A wheel is a wheel. Fire is hot and water is wet. But, hey,…