You want to learn Haskell. This is why.

preview_player
Показать описание
If you want to see more of this content, leave a like!

This is an introduction to an upcoming tutorial series about programming in haskell. A lot of people complain about haskell being complicated and unintuitive, and although it definitely has its flaws, it forces you into thinking about code in a entirely different way.

==============================================

*Fonts used:*
- *Presentation:* Comfortaa, Lexend Deca
- *Code:* Iosevka SSO7

*Color theme:* Ayu Mirage

*Tools used:* MS PowerPoint, Adobe Premiere Pro, Visual Studio Code

#haskell #functionalprogramming #tutorial
Рекомендации по теме
Комментарии
Автор

I'M YOUR BIGGEST FAN, PEPPI! AMAZING WORK <3

crrww
Автор

Yes, "ClosestPoint Point Point Point" makes perfect sense when you read it.

RaukGorth
Автор

Python:
def closest_point(points: Iterable[Point], target: Point) -> Point:
return min(points, key=lambda p: distance(p, target))

Soul-Burn
Автор

I got into FP through ocaml which is well, different, but this point really is solid.
It may look daunting at first, but once you learn how to use these languages you'll be able to write some of the prettiest code in your life and that's not an exaggeration, it's like you're coding in cursive

titan
Автор

Great video. I went on a journey to learn haskell, attempting to learn category theory, monads, etc... I understand most of these concepts shallowly, but the biggest thing that came out of learning haskell was becoming better at FP in other languages. It has helped a lot with Generics, using/writing functors and monads in other languages, and just understanding programming at a deeper level. You learn the value of immutability, and you can see where to use it more clearly. My only warning for those who learn is to not get to wrapped up in category theory and type theory. You can get more practical value without going deep into these. Unless you want to. Then go ahead!

tenthlegionstudios
Автор

You have successfully convinced me to give it a try. Waiting for the series now. Great quality btw!

vanshavbhalla
Автор

I've been interested in Haskell for a while now but never really felt motivated to learn it. This just inspired me to start trying.

Laeshen
Автор

Good video, but that ternseness you can achieve in Python too. Here's a one-liner:
min_value = min(points, key=lambda point: (point.x-target.x)**2 + (point.y-target.y)**2)

gobdovan
Автор

"But if you read it out loud.. "
Closest point point point point closest point

eslof
Автор

You can just learn functional programming in the language that you like, assuming it supports it well enough. Learning Haskell might actually ruin you, because there's a lot of reasons you won't actually use Haskell, but you will miss the type system when you go back to any other language.

alxjones
Автор

One reason I really don't like pure FP is the reluctance to use real iterators and rely too much on recursion, and most of these languages dont even guarantee tail-call optimization. There are plenty of good lessons to be learned from a state minimizing approach such as FP. But the moment your program needs performance or even handle more input without some heavy runtime help, all the functional elegance flies out the window. OSes and even the FP languages compilers/runtimes are procedural imperative for a reason, it's fast, computers are inherently stateful and sequential and no amount of category theory can change the hard reality of the CPU.

marcs
Автор

It definitely sounds like an interesting language.
I'm really looking forward to the next videos. 😄
Great work!

manolol
Автор

After learning Haskell, Python is no longer the same, I see functools library and go "ooo shiny", and it is actually faster than hand made loops 🤯

madghostek
Автор

Cool. I don't know any Haskell and thought monads seemed intimidating, but really after watching a video by Studying With Alex it wasn't that hard to understand, at least practically. I'm sure it's a nightmare theoretically though. Also as a C# user I want to give my two cents:

points.MinBy(point => Distance(point, target))

bloom
Автор

Haskell programmers will say anything to convince others so they can justify their time spent learning it and regretting

k_gold
Автор

I appreciate the FP content. Never used haskell but I use a lot of the functional capabilities provided by ES6+ JS. Great video!

RoboDragonJediKnight
Автор

Bro I have been coding in Python since highschool and it took me a while to understand that example at the end of the video.

QuotePilgrim
Автор

God bless all that is reading this. Thank you for the explanation!

GabrielsEpicLifeofGoals
Автор

Can't wait for the following videos. I'm sure they will get lot of views and subs in the long run.

cnstntn
Автор

Haskell breaks my brain. I've been programming on OOP languages for over 10 years now and it's very hard to rethink how I fundamentally approach a logical problem.

coolbrotherf