Haskell vs Python vs Stan

Need advice about which tool to choose?Ask the StackShare community!

Haskell

1.4K
1.2K
+ 1
527
Python

238.7K
194.7K
+ 1
6.8K
Stan

64
27
+ 1
0
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Haskell
Pros of Python
Pros of Stan
  • 90
    Purely-functional programming
  • 66
    Statically typed
  • 59
    Type-safe
  • 39
    Open source
  • 38
    Great community
  • 31
    Built-in concurrency
  • 30
    Built-in parallelism
  • 30
    Composable
  • 24
    Referentially transparent
  • 20
    Generics
  • 15
    Type inference
  • 15
    Intellectual satisfaction
  • 12
    If it compiles, it's correct
  • 8
    Flexible
  • 8
    Monads
  • 5
    Great type system
  • 4
    Proposition testing with QuickCheck
  • 4
    One of the most powerful languages *(see blub paradox)*
  • 4
    Purely-functional Programming
  • 3
    Highly expressive, type-safe, fast development time
  • 3
    Pattern matching and completeness checking
  • 3
    Great maintainability of the code
  • 3
    Fun
  • 3
    Reliable
  • 2
    Best in class thinking tool
  • 2
    Kind system
  • 2
    Better type-safe than sorry
  • 2
    Type classes
  • 1
    Predictable
  • 1
    Orthogonality
  • 1.2K
    Great libraries
  • 959
    Readable code
  • 844
    Beautiful code
  • 785
    Rapid development
  • 688
    Large community
  • 434
    Open source
  • 391
    Elegant
  • 280
    Great community
  • 272
    Object oriented
  • 218
    Dynamic typing
  • 77
    Great standard library
  • 58
    Very fast
  • 54
    Functional programming
  • 48
    Easy to learn
  • 45
    Scientific computing
  • 35
    Great documentation
  • 28
    Easy to read
  • 28
    Productivity
  • 28
    Matlab alternative
  • 23
    Simple is better than complex
  • 20
    It's the way I think
  • 19
    Imperative
  • 18
    Free
  • 18
    Very programmer and non-programmer friendly
  • 17
    Machine learning support
  • 17
    Powerfull language
  • 16
    Fast and simple
  • 14
    Scripting
  • 12
    Explicit is better than implicit
  • 11
    Ease of development
  • 10
    Clear and easy and powerfull
  • 9
    Unlimited power
  • 8
    It's lean and fun to code
  • 8
    Import antigravity
  • 7
    Python has great libraries for data processing
  • 7
    Print "life is short, use python"
  • 6
    Flat is better than nested
  • 6
    Readability counts
  • 6
    Rapid Prototyping
  • 6
    Fast coding and good for competitions
  • 6
    Now is better than never
  • 6
    There should be one-- and preferably only one --obvious
  • 6
    High Documented language
  • 6
    I love snakes
  • 6
    Although practicality beats purity
  • 6
    Great for tooling
  • 5
    Great for analytics
  • 5
    Lists, tuples, dictionaries
  • 4
    Multiple Inheritence
  • 4
    Complex is better than complicated
  • 4
    Socially engaged community
  • 4
    Easy to learn and use
  • 4
    Simple and easy to learn
  • 4
    Web scraping
  • 4
    Easy to setup and run smooth
  • 4
    Beautiful is better than ugly
  • 4
    Plotting
  • 4
    CG industry needs
  • 3
    No cruft
  • 3
    It is Very easy , simple and will you be love programmi
  • 3
    Many types of collections
  • 3
    If the implementation is easy to explain, it may be a g
  • 3
    If the implementation is hard to explain, it's a bad id
  • 3
    Special cases aren't special enough to break the rules
  • 3
    Pip install everything
  • 3
    List comprehensions
  • 3
    Generators
  • 3
    Import this
  • 2
    Flexible and easy
  • 2
    Batteries included
  • 2
    Can understand easily who are new to programming
  • 2
    Powerful language for AI
  • 2
    Should START with this but not STICK with This
  • 2
    A-to-Z
  • 2
    Because of Netflix
  • 2
    Only one way to do it
  • 2
    Better outcome
  • 2
    Good for hacking
  • 1
    Securit
  • 1
    Slow
  • 1
    Sexy af
  • 0
    Ni
  • 0
    Powerful
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    Cons of Haskell
    Cons of Python
    Cons of Stan
    • 9
      Too much distraction in language extensions
    • 8
      Error messages can be very confusing
    • 5
      Libraries have poor documentation
    • 3
      No good ABI
    • 3
      No best practices
    • 2
      Poor packaging for apps written in it for Linux distros
    • 2
      Sometimes performance is unpredictable
    • 1
      Slow compilation
    • 1
      Monads are hard to understand
    • 53
      Still divided between python 2 and python 3
    • 28
      Performance impact
    • 26
      Poor syntax for anonymous functions
    • 22
      GIL
    • 19
      Package management is a mess
    • 14
      Too imperative-oriented
    • 12
      Hard to understand
    • 12
      Dynamic typing
    • 12
      Very slow
    • 8
      Indentations matter a lot
    • 8
      Not everything is expression
    • 7
      Incredibly slow
    • 7
      Explicit self parameter in methods
    • 6
      Requires C functions for dynamic modules
    • 6
      Poor DSL capabilities
    • 6
      No anonymous functions
    • 5
      Fake object-oriented programming
    • 5
      Threading
    • 5
      The "lisp style" whitespaces
    • 5
      Official documentation is unclear.
    • 5
      Hard to obfuscate
    • 5
      Circular import
    • 4
      Lack of Syntax Sugar leads to "the pyramid of doom"
    • 4
      The benevolent-dictator-for-life quit
    • 4
      Not suitable for autocomplete
    • 2
      Meta classes
    • 1
      Training wheels (forced indentation)
      Be the first to leave a con

      Sign up to add or upvote consMake informed product decisions

      - No public GitHub repository available -

      What is Haskell?

      It is a general purpose language that can be used in any domain and use case, it is ideally suited for proprietary business logic and data analysis, fast prototyping and enhancing existing software environments with correct code, performance and scalability.

      What is Python?

      Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.

      What is Stan?

      A state-of-the-art platform for statistical modeling and high-performance statistical computation. Used for statistical modeling, data analysis, and prediction in the social, biological, and physical sciences, engineering, and business.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use Haskell?
      What companies use Python?
      What companies use Stan?

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with Haskell?
      What tools integrate with Python?
      What tools integrate with Stan?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      Blog Posts

      Sep 29 2020 at 7:36PM

      WorkOS

      PythonSlackG Suite+17
      6
      3049
      PythonDockerKubernetes+7
      3
      1102
      PythonDockerKubernetes+14
      12
      2605
      Oct 3 2019 at 7:13PM

      Ably Realtime

      JavaScriptPythonNode.js+8
      5
      3823
      Aug 28 2019 at 3:10AM

      Segment

      PythonJavaAmazon S3+16
      7
      2556
      JavaScriptPythonPubNub+4
      7
      1501
      What are some alternatives to Haskell, Python, and Stan?
      Scala
      Scala is an acronym for “Scalable Language”. This means that Scala grows with you. You can play with it by typing one-line expressions and observing the results. But you can also rely on it for large mission critical systems, as many companies, including Twitter, LinkedIn, or Intel do. To some, Scala feels like a scripting language. Its syntax is concise and low ceremony; its types get out of the way because the compiler can infer them.
      Clojure
      Clojure is designed to be a general-purpose language, combining the approachability and interactive development of a scripting language with an efficient and robust infrastructure for multithreaded programming. Clojure is a compiled language - it compiles directly to JVM bytecode, yet remains completely dynamic. Clojure is a dialect of Lisp, and shares with Lisp the code-as-data philosophy and a powerful macro system.
      Erlang
      Some of Erlang's uses are in telecoms, banking, e-commerce, computer telephony and instant messaging. Erlang's runtime system has built-in support for concurrency, distribution and fault tolerance. OTP is set of Erlang libraries and design principles providing middle-ware to develop these systems.
      Rust
      Rust is a systems programming language that combines strong compile-time correctness guarantees with fast performance. It improves upon the ideas of other systems languages like C++ by providing guaranteed memory safety (no crashes, no data races) and complete control over the lifecycle of memory.
      OCaml
      It is an industrial strength programming language supporting functional, imperative and object-oriented styles. It is the technology of choice in companies where a single mistake can cost millions and speed matters,
      See all alternatives