You can't really use Maybe like in Haskell without a static type system.
After all, in Python, there is no actual Null-pointer exceptions; instead, you have TypeErrors that just happen to trigger on None. Even if you had some sort of option type, you would still get runtime errors because there is not enough information to deal with them at compile time.
Now, you could add some sort of abstractions to make checking for None in your code easier. But when your "benevolent" dictator hates folds, you're not getting any advanced features like monads any time soon!
Yep, the sad thing is that you can't get all in a single package.
The type system in Haskell look very good. But the cobra language have a implementation very close and in line with the spirit of python...
Re:Things I like about programming in Go
by drivebyacct2 on Thursday July 05, 2012 @02:11AM
(#4201929)
>Is still not readable
Wha...? Have you spent any time with it at all?
However, I wish that python have some of the cool things of GO (like gorutines) and other stuff like in cobra-language.com and:
1- Removal of null (using maybe as haskell) 2- Decimal instead of float as default
Still, the new languages refuse to fix #1. #1 Must be declared a goal like have garbage collection right now.