Code Monkey home page Code Monkey logo

not-a-blog's Introduction

Not a blog

Stuff I've written down while transitioning between static site generators. If you have any corrections or suggestions, please reach out using the issue tracker, or message me on Twitter/Reddit (same username).

  1. ad-hoc-polymorphism.rst - An informal and incomplete survey of the design space for ad-hoc polymorphism in a programming language.
  2. opinionated-haskell-guide-2019.md - A guide for Haskell beginners in mid 2019. TL:DR; Prefer simple and well-documented options over exciting things. Ask for help when stuck.
  3. pl-and-physics-jargon.md - A small post describing how the jargon used for name binding in programming languages is somewhat similar to the jargon used in some parts of physics. Don't take it too seriously.

not-a-blog's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

rajivjhoomuck

not-a-blog's Issues

Haskell guide suggestions

Hello, I enjoyed your "Opinionated Haskell Guide 2019" and wanted to make a couple of suggestions. I don't have a reddit account, so thought I'd post them here (if you're gonna use github as a blog, I'm gonna use issues as comments ;) )

Hoogle

Since you suggest installing Hoogle as a search provider, I thought I'd mention that DuckDuckGo will redirect to hoogle.haskell.org if the query includes !hoogle. Many people (including me) have DuckDuckGo as their default search engine, so it's handy that it has a few Haskell-specific features

Partial Functions

I agree about trying to avoid them. You suggest using comments to explain why (we think) errors won't happen. I would also suggest that partial functions should always prefer calling error rather than using undefined or leaving cases unhandled. This way we can at least write an informative message (possibly containing argument values, etc.). Much better to see a custom message like Couldn't foo 7 because it is odd rather than the less-helpful Exception: Prelude.undefined or Non-exhaustive patterns in function foo.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.