Haskell For Dilettantes - Part 1 - Intro

Поділитися
Вставка
  • Опубліковано 1 сер 2024
  • A few years ago I decided I wanted to learn Haskell. If I’m honest, I’m not entirely sure why I made this decision. I think a co-worker of mine was really into it, and it seemed like a unique language in a few different ways, but largely I think I was just curious.
    I spent a while looking at various resources online, and went down a lot of dead ends. Learning a language when you’re not actually using it in anger is always a tricky proposition. If you’re not using the language in production, you can’t ever be sure that you’re really using it effectively. And there are some aspects of Haskell that make this worse than it needs to be.
    Just last week someone asked me for some recommendations about resources to learn Haskell, and unsurprisingly I had a lot of strong opinions about which books were good and which ones were terrible, and I’ll make some of those recommendations to you a bit later. But one thing DID surprise me, and that’s that I didn’t have a Haskell video of my own. So today I’m going to remedy that.
    My plan is to start a series of these videos where I introduce some aspect of the Haskell language and then explain it to you, probably very badly. Think of it as Baby’s First Haskell. And I wanted to call out the fact that although I am a programmer by trade, I don’t write Haskell professionally. You’re getting my dilettante’s opinions of the language. Hopefully you can find some value in that perspective.
    Join this channel to get access to perks; the "Thanks, peterb!" tier is a great way to show your support without breaking the bank, and the "Early Access" tier gets you access to most of my videos about a week early.
    / @tealeavesprogramming
  • Наука та технологія

КОМЕНТАРІ • 29

  • @NiDeCo
    @NiDeCo 24 дні тому +2

    Always happy seeing more people trying to make Haskell more accessible

  • @EricsEdgeVideos
    @EricsEdgeVideos 27 днів тому +1

    "Learning a language when you're not using it anger is always kind of a tricky proposition."
    Truer words have never been spoken.

    • @TeaLeavesProgramming
      @TeaLeavesProgramming  27 днів тому +1

      The biggest limitation of this series, and I want to be open about it from the start, is that I don't use Haskell professionally. So there are going to be best practices and adaptations that happen in the field that I'm not even going to know about.
      But! That's not a reason to explore it with me.

    • @EricsEdgeVideos
      @EricsEdgeVideos 27 днів тому

      @@TeaLeavesProgramming This works great for me. I'm interested in hearing what you've found from a similar perspective of mine. Not only would I not be using this professionally, I've moved into management and no longer program professionally. I do it for recreation now.

  • @simonmichael6814
    @simonmichael6814 22 дні тому

    Thanks for doing this, I'm looking forward to it!
    I'm hoping you'll end up using it yourself somehow.

  • @kjrl818
    @kjrl818 27 днів тому +1

    I just got a haskell book because of your "teaching kids haskell" video lol. I can't wait to see this series regardless

    • @TeaLeavesProgramming
      @TeaLeavesProgramming  27 днів тому

      Honestly, trying multiple routes to learning is always a good idea. I'm sure the book won't be a waste!

  • @DrewryPope
    @DrewryPope 24 дні тому

    This is great! 😊

    • @DrewryPope
      @DrewryPope 24 дні тому

      Next do nix

    • @TeaLeavesProgramming
      @TeaLeavesProgramming  24 дні тому +1

      Hahahaha I have wondered about Nix for literally years. I suspect I would be a very bad person to investigate it! I'm allergic to build systems.

    • @TeaLeavesProgramming
      @TeaLeavesProgramming  24 дні тому +1

      I'm glad you like it. Subscribe and join us for future episodes - next one is this coming Friday.

  • @ZacCrawforth
    @ZacCrawforth 27 днів тому

    Looking forward to this - I grew up using FORTH, C, C++, a little 6502 assembly, and currently use Go extensively. But every time I look at Haskell it just makes my head hurt.

  • @MrBartusek
    @MrBartusek 26 днів тому +1

    math cosplay thing is golden

    • @TeaLeavesProgramming
      @TeaLeavesProgramming  25 днів тому +1

      I'm sure I will rant at this at some point in the series, but I hate it when people name variables as if they are being charged by the letter.

    • @MrBartusek
      @MrBartusek 25 днів тому

      @@TeaLeavesProgramming haha, and again a quote i will use while talking to some of my coworkes :) keep bringing them gold nuggets mate

  • @keithl3789
    @keithl3789 26 днів тому

    I would like to hear your hot takes on good and bad resources. For example Real World Haskell seems like it pretends to be for beginners but it doesn't quite land right for me. I'm a mathematician and even I'm looking for more down to earth materials. I think I'm trying to just pave my own way instead since I can't find any.

    • @TeaLeavesProgramming
      @TeaLeavesProgramming  26 днів тому

      I will definitely devote at least one video to mentioning the good resources. Naming and shaming the bad ones is more fraught because it will just make people angry. One resource that I think is particularly great is Graham Hutton’s book “Programming in Haskell”. It’s extremely down to earth, without being trivial.

    • @kostasgkoutis8534
      @kostasgkoutis8534 24 дні тому

      @keithl3789 Try Effective Haskell, you will not be disappointed.

  • @blighthornsteelmace820
    @blighthornsteelmace820 25 днів тому

    I went into spring13 link
    ... and no materials there...
    btw, highly suggest to not use font with 1 looking as l, or major i.
    anyway looking forward for this serie.

    • @TeaLeavesProgramming
      @TeaLeavesProgramming  25 днів тому +1

      Hmmm, maybe I had a typo? Should be www.seas.upenn.edu/~cis1940/spring13/, click on "Lectures & Assignments" up top.

  • @Grahamplaysgo
    @Grahamplaysgo 5 днів тому +1

    As a way to enjoy programming I think Haskell is way too big. My first language was Forth on a 1k ZX-81. As a teacher I learned Logo and still think it is a near perfect personal language for just having fun. Now I’m interested in APL. If you imagine Haskell suffers from brevity then APL will seriously send you crazy.

  • @samhodge7460
    @samhodge7460 26 днів тому

    Video Titles for the Erudite

  • @anon_y_mousse
    @anon_y_mousse 24 дні тому

    The only problem is that Haskell is only 34 years old, so if we're programming like it's 1979, then we can't use Haskell for another 11 years. I guess that means that for the next video you'll have to time travel a bit to actually use it. :))

    • @TeaLeavesProgramming
      @TeaLeavesProgramming  24 дні тому +3

      I know it's lame, but the main reason I keep using that tag line is that I simply like the rhythm of the words.