|
|
|
|
|
by throwawaydbfif
3414 days ago
|
|
I agree about union types. They can quickly result in insane variable declaration statements that are hard to understand. I dislike nulls though, I always wish people would just use a flag or error handling when objects are undefined, instead of "hey this object is the flag and sometimes it's not actually an object!" You'd think language designers would learn after dealing with null pointers :) |
|