Haskell For Dilettantes - Part 1 - Intro
Ғылым және технология
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
Always happy seeing more people trying to make Haskell more accessible
@TeaLeavesProgramming
22 күн бұрын
Thanks for watching!
"Learning a language when you're not using it anger is always kind of a tricky proposition." Truer words have never been spoken.
@TeaLeavesProgramming
24 күн бұрын
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
24 күн бұрын
@@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.
I just got a haskell book because of your "teaching kids haskell" video lol. I can't wait to see this series regardless
@TeaLeavesProgramming
24 күн бұрын
Honestly, trying multiple routes to learning is always a good idea. I'm sure the book won't be a waste!
Thanks for doing this, I'm looking forward to it! I'm hoping you'll end up using it yourself somehow.
@TeaLeavesProgramming
17 күн бұрын
Oh no, teaching/learning recursion!
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.
@TeaLeavesProgramming
Күн бұрын
I was always fascinated with the APL symbol set!
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.
@TeaLeavesProgramming
25 күн бұрын
Thanks! I hope it lives up to your expectations.
This is great! 😊
@DrewryPope
21 күн бұрын
Next do nix
@TeaLeavesProgramming
21 күн бұрын
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
21 күн бұрын
I'm glad you like it. Subscribe and join us for future episodes - next one is this coming Friday.
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
23 күн бұрын
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
22 күн бұрын
@keithl3789 Try Effective Haskell, you will not be disappointed.
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
23 күн бұрын
Hmmm, maybe I had a typo? Should be www.seas.upenn.edu/~cis1940/spring13/, click on "Lectures & Assignments" up top.
math cosplay thing is golden
@TeaLeavesProgramming
23 күн бұрын
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
23 күн бұрын
@@TeaLeavesProgramming haha, and again a quote i will use while talking to some of my coworkes :) keep bringing them gold nuggets mate
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
22 күн бұрын
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.
Video Titles for the Erudite
@TeaLeavesProgramming
16 күн бұрын
🧐