| There's little reason to use python instead of haskell these days. - compiled code, fast - cleaner, nicer, conciser syntax - type safety built in - pattern matching - numpy equivalents are now available - purity (see John Carmack talking about how it helps when codebases get large) To switch from python to haskell easily within minutes, realize that a python function is simply do notation in haskell. So replace assignment (=) with arrow (<-) and write with "func v1 v2 = do". Then pure functions are those without do and no assignment written lisp/scheme style. "$" means you can get rid of the parentheses. After that, declaring types is equivalent to expressing how syntax tree can be written. You can use these to plan out how you attack your problem and then let compiler help you when writing out your functions. You could even just write out types and outsource the function writing to someone else (similar to your oo architects can parcel out code writing). So, all python, golang, and ruby programmers - you really should check out haskell and realize it's superiority. They've taken your niche. (If anyone wants to pay me to code in haskell, send me an email at haskellpostgresprogrammer@gmail.com, looking for telecommute work) |