Software Alternatives, Accelerators & Startups

Real World Haskell VS Scotty

Compare Real World Haskell VS Scotty and see what are their differences

Real World Haskell logo Real World Haskell

Learning Resources, Programming Courses, and Learn Programming

Scotty logo Scotty

Scotty is a Haskell framework inspired by Ruby's Sinatra.
  • Real World Haskell Landing page
    Landing page //
    2020-01-02
  • Scotty Landing page
    Landing page //
    2023-06-29

Real World Haskell features and specs

  • Comprehensive Introduction
    Real World Haskell provides a thorough introduction to Haskell, covering all fundamental concepts, which is beneficial for both beginners and intermediate users.
  • Practical Examples
    The book includes numerous practical examples and exercises that help readers understand how Haskell can be applied to solve real-world problems.
  • Focus on Real-World Applications
    The book emphasizes how Haskell can be used in practical, real-world scenarios, which can be inspiring and motivating for learners.
  • Free Online Access
    Real World Haskell is available for free online, making it accessible to a wide audience without the barrier of cost.

Possible disadvantages of Real World Haskell

  • Dated Material
    Some parts of the book may be outdated, as the field of Haskell programming has evolved since its release, which might not cover the latest language features or libraries.
  • Steep Learning Curve
    While thorough, the book can be challenging for complete beginners due to the complex nature of Haskell and the assumption of some prior programming knowledge.
  • Sparse Community Support
    Given its age, there might be limited community support for discussions or Q&A about the book's content, compared to more recent resources.
  • Limited Coverage of Advanced Topics
    Although comprehensive for beginners to intermediate users, the book may not delve deeply into advanced Haskell topics that are of interest to expert users.

Scotty features and specs

  • Simplicity
    Scotty is designed to be simple and easy to use, making it a great choice for developers who want to quickly create web applications without delving into complex configurations.
  • Lightweight
    Being a minimalist web framework, Scotty has a small footprint, which can lead to faster performance and less memory usage in comparison to heavier frameworks.
  • Type Safety
    As a Haskell framework, Scotty benefits from Haskell’s strong static type system, reducing runtime errors and enhancing code reliability.
  • Integration with Haskell
    Scotty allows Haskell developers to leverage the full power of the Haskell ecosystem, including libraries and tools, for building server-side applications.

Possible disadvantages of Scotty

  • Limited Features
    Scotty provides a minimal set of features, which might not be sufficient for developers looking for an out-of-the-box comprehensive solution for complex applications.
  • Community and Documentation
    Compared to more popular web frameworks, Scotty has a smaller community and less extensive documentation, which might pose challenges when seeking help or examples.
  • Performance Overhead
    While Scotty is suitable for small to medium applications, for high-performance requirements, other highly-optimized frameworks might be more appropriate.
  • Learning Curve
    For developers not familiar with Haskell, there can be a steep learning curve associated with understanding the language concepts needed to effectively use Scotty.

Category Popularity

0-100% (relative to Real World Haskell and Scotty)
API Tools
34 34%
66% 66
Developer Tools
32 32%
68% 68
Online Learning
100 100%
0% 0
Web Frameworks
0 0%
100% 100

User comments

Share your experience with using Real World Haskell and Scotty. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Real World Haskell might be a bit more popular than Scotty. We know about 15 links to it since March 2021 and only 13 links to Scotty. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Real World Haskell mentions (15)

  • Functors, Applicatives, and Monads
    > Yes, I really need a real word Haskell project simple enough to understand all the math concept There actually is a book with precisely that title, which provides what you're asking for: https://book.realworldhaskell.org/ > Like, I don't know when to implement the Monad type-class to my domain data types A concrete type (such as your Tweet type) can't be a Monad. Monad is implemented on generic types (think:... - Source: Hacker News / about 1 month ago
  • Revisiting Haskell after 10 years
    The Real World Haskell book is also outdated, but can also be read online for free, and has many examples and exercises on writing practical and usable applications. Although I have not read the book to the fullest, I still recommend its monad transformers chapter, as it was the one that made it click for me. - Source: dev.to / over 1 year ago
  • Book list opinion for revision/self-study
    Stage 2: Advanced topics - Real World Haskell - Haskell in Depth. Source: over 1 year ago
  • Haskell book after Get Programming with Haskell?
    I also liked https://book.realworldhaskell.org/ since it layers up to (wait for it) real world problems e.g reading a barcode from an image. I'm old so the O'Reilly format has a warm place in my heart. More textbooky. Source: about 2 years ago
  • What is the best resource to learn Haskell in 2023?
    So we have LYAH, also there is O'Reilly book, which is a bit old but still mostly good, many people start with this book. After any of those three you can probably decide for yourself what to use to continue the study. Source: over 2 years ago
View more

Scotty mentions (13)

  • haskell todo list app (beginner)
    I would suggest checking out scotty for the http server - it uses warp by default, and is very beginner-friendly. Source: almost 2 years ago
  • School of Haskell: Basics
    If you're not a fan of the ruby-on-rails / swiss army knife approach that IHP takes, check out Scotty. Add Lucid for Html rendering, and Selda for Postgres. (There are other options for any of these tools if you prefer) - Scotty (simple web routing) https://hackage.haskell.org/package/scotty. - Source: Hacker News / over 2 years ago
  • Use Haskell from Nodejs
    Writing a Haskell webserver (maybe using scotty) and call it from node. Source: over 2 years ago
  • Programming language comparison by reimplementing the same transit data app
    I think ‘worst’ is very subjective here. It certainly does aim to be an all-encompassing ‘framework’ — but this is hardly unusual amongst web libraries (not just for Haskell!), and I feel Yesod gets the job done pretty well. Of course, Haskell has many alternatives if you don’t like Yesod: amongst other libraries, there’s Servant [0], snap [1], scotty [2], and the lower-level wai [3] and warp [4] if you feel the... - Source: Hacker News / over 2 years ago
  • Suggestions for "dashboard" graphics libraries?
    I've found htmx and hyperscript talking to scotty to be an easy way to get something like this going while retaining the joys of Haskell on the backend and avoiding the pains of Haskell on the frontend. Source: over 2 years ago
View more

What are some alternatives?

When comparing Real World Haskell and Scotty, you can also consider the following products

Haskell From First Principles - A Haskell book for beginners that works for non-programmers and experienced hackers alike.

IHP - The fastest way to buildtype safe web apps 🔥

Exercism - Download and solve practice problems in over 30 different languages.

wai-routes - Type safe routing framework for wai

Convex.dev - Global state management for react

Yesod - Yesod is a development tool used to create highly efficient websites and web applications from the ground up. Yesod includes almost everything you need to build a website, from templates to routing and execution. Read more about Yesod.