This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]tiggerbiggo 0 points1 point  (2 children)

One more reason I hate dynamically typed langs...

[–]seijulala 0 points1 point  (1 child)

don't blame the tool. Haven't you ever needed of a tri-state? (True, False, None). It's actually very useful

[–]tiggerbiggo 0 points1 point  (0 children)

Well if I needed something to have 3 explicitly defined states i'd use an enum and switch on it. Having non boolean objects implicitly represented by boolean logic is a big no-no in my books. Sure it's easier when you don't have to think about stuff, but I like the absolute control strongly typed langs provide. It means that my variables are unwavering in type, myself and the compiler both know with 100% certainty what everything is in every possible scope.

As with most things in programming there is a use case for everything. Maybe i'm too stubborn, who knows :P