C Programmer Learns Haskell and DOESN'T Cry? (Coding in a Random Language Every Day)

preview_player
Показать описание
Advent of Code 2023 is UPON US! What better way to spend the holiday season, learn to program, and test your skills against your friends. This year, I've decided to try something kind of insane. I'll be choosing a language off the wheel every day.... let's see what happens.

🔥🔥🔥 SOCIALS 🔥🔥🔥
Рекомендации по теме
Комментарии
Автор

3:55 - denial
5:37 - anger
6:05 - bargaining
6:42 - depression
10:04 - acceptance

dmytrish
Автор

Haskell first experience in short:
– This is terrible, this is not a fun experience. 5:42
– Wait, did I just made it? 8:36

polite
Автор

You are very lucky that day 9 was perfect for a recursive solution, which fits nicely with haskell, but still.. you've never programmed in haskell and wrote this? That's impressive!

kijetesantakalu
Автор

it took me a very long time before i finally "got" haskell, now that I have though it is very elegant and problems that are like 20 lines at least in rust are like 4 lines in haskell.

minneelyyyy
Автор

Day 9 was a good choice for a functional language. The recursion was pretty easy to figure out

wcrb
Автор

Damn.. I read the title and thought of my first reaction to Haskell at uni: "How are you supposed to do anything without loops and ifs". Took me a full afternoon to wrap my head around that. It clicked eventually, but it also unclicked a few years later...

I think you got extremely lucky. Day 9 seems very suitable for Haskell. Imagine doing day 10...

TheTrienco
Автор

Amazing! Here's hoping you add RISC-V Assembly to the board

supergoku
Автор

"we can do this recursively … I just don’t want to". I felt that.

mxlje
Автор

now imagine coding haskell without chatgpt

shsbamxnw
Автор

The great thing about functional languages is it's not unusual for them to work on the first try. But let's not talk about how long that first try takes, or how easy it is to pick back up a month later.

ttamttam
Автор

Way to go for confronting all this unknown and exposing us to your learning process. It is very brave to challenge yourself in such a public fashion.

GordanCable
Автор

Would love to see ASM on that Wheel. Or at least give a bit of mercy and see FORTH or COBOL on there. ADA would also be fun.

pseudonymity
Автор

Dude. In other languages I hadn't worked with before, I eventually started to understand your code by the end of the video. Haskell is still looking like gibberish to me after this video.

jeanfecteau
Автор

This guy taught me how to code in high school, really cool dude, loving the content 👍

xdanx
Автор

I’m writing a compiler in Haskell, and yesterday I had a meltdown, but it’s very well suited for such tasks :)

TheLividPumpkin
Автор

You should try with the book "Learn you a Haskell for great good".
Whe you really understand it, is a really fun experience tp work with and really changes your perspective in solving some problems

renefernandez
Автор

I started doing Haskell for an Intel 8081 disassembler as a play example,
and my experience has been "once you can stop arguing with the compiler, it just works"

meiliyinhua
Автор

Haskell is amazing if you let go of the low level mindset for a second... but I understand that's pretty hard if imperative/OO is all you've known and your channel's literally called "Low Level Programming" 😅
Glad you made it, and I hope it's not as scary as it used to be. See it as "You've been learning European languages as an English speaker up to this point, now you've started learning Chinese/Hindi" which is COMPLETELY different, yes, but will give you amazing insights into how languages work and what you can do with them 😄

NiDeCo
Автор

I started learning programming with BASIC, then moved to binary code (inlines in the BASIC code) which was quite hard to do for obvious reasons. Then moved to Assembly for ZX 80. And that was a lot of fun. Next was Pascal, a lot of fun too. After that C - that was a bit of WTF moments, then Fortran and so on and so forth. From all that experience of learning different lingos I can tell that anything you are unfamiliar with can look a bit like WTF. But your attitude can not only make the process fun but also open your eyes. Or the opposite 😂
Haskell is awesome.

olexp
Автор

Don't know what you mean. Haskell is lots of fun. If the package management was better I would be gladly using it more often.

But you know what should be on the wheel (can't read the darker fields, maybe it already is): Common Lisp

bpa