Programming - Why Haskell is Great - 10 minutes

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024

Комментарии • 587

  • @therealxunil2
    @therealxunil2 7 лет назад +879

    This is exactly how I imagine Haskell programmers to talk and behave.

    • @mommababben
      @mommababben 7 лет назад +12

      me 3

    • @Evan490BC
      @Evan490BC 5 лет назад +9

      @@mommababben Or me 1, if you are a C programmer.

    • @hreinnjuliusson2113
      @hreinnjuliusson2113 5 лет назад +9

      With excessive cat images and all its glory

    • @neonz2712
      @neonz2712 4 года назад +1

      @@Evan490BC I think you meant me[0].

    • @Evan490BC
      @Evan490BC 4 года назад +7

      @@neonz2712 Well, no. The reasoning is the following: "me too" -> "me 2" -> "me[1]" in C.

  • @Zeturic
    @Zeturic 8 лет назад +493

    I saw all those folders and nearly had a panic attack.

    • @sonurokr
      @sonurokr 7 лет назад +3

      Sagiri I am having one..

    • @kennetemerson
      @kennetemerson 6 лет назад +3

      same here

    • @Evan490BC
      @Evan490BC 5 лет назад +7

      Ha, you fell for it! These are not real folders, this is the standard trick that Haskell programmers use to intimidate others! It's just a wallpaper.

    • @D3rMesaa
      @D3rMesaa 5 лет назад +2

      Looks like he likes cats

    • @brecoldyls
      @brecoldyls 3 года назад

      And then the figs folder hiding in the bottom right! I nearly lost it haha

  • @kensai7
    @kensai7 10 лет назад +120

    I feel dually privileged after watching this 10 minutes video. Not only have I grasped the power of functional languages and Haskell in particular, but also pretty much learned some working day-to-day Swedish and a neat biomedical application in the process.
    For that and the awesome desktop of cryptic cat pictures folders, I thank you good sir! :)

    • @FrungyKing
      @FrungyKing  8 лет назад +2

      +Kensai7KM Thanks for the review!

  • @saaaamiimb
    @saaaamiimb 10 лет назад +163

    This has still got to be the best programming tutorial out there.

    • @FrungyKing
      @FrungyKing  8 лет назад +6

      +Sami M'Barek Thank you!

    • @bookle5829
      @bookle5829 2 года назад +2

      it is indeed one of the programming tutorial videos.

  • @TanUv90
    @TanUv90 8 лет назад +491

    perfect balance of informative video and hilarious jokes

  • @carmelid
    @carmelid 7 лет назад +156

    As a swede, I'd like to report a bug in the Swedish translator. Sometimes you should add random dots over A:s and O:s (nobody knows why).
    >swedish "Hello world"
    >Hfeflflföf wföfrflfdf

    • @JohnSmith-ox3gy
      @JohnSmith-ox3gy 5 лет назад +8

      Simon Carmelid
      And an alarming lack of å.

    • @Rosenzweigjcb
      @Rosenzweigjcb 4 года назад +1

      RNG by definition violates functional purity so no can do in Hasklel :>)

    • @ccgarciab
      @ccgarciab 3 года назад +1

      @@Rosenzweigjcb it can be done, but the IO Monad deserves a video on itself 😅

    • @jonaskoelker
      @jonaskoelker 3 года назад +3

      The majestic mföföfsfe
      The wönderful tfeflfeffføfnfe system
      bföfrfk bföfrfk bföfrfk
      It seems tö work. Now, if önly I knew how to make it stöp...

  • @rationalityfirst
    @rationalityfirst 7 лет назад +154

    you need a second monitor for your expanding collection of cat pictures

    • @peppigue
      @peppigue 3 года назад +1

      He can also opt for smaller icons

  • @scyzzo
    @scyzzo 9 лет назад +26

    Very = f( f ( f x) ), which is to intersperse f between each letter. ABC => AfBfC => AfffBfffC => AfffffffBfffffffC. Very is saying perform this function 3 times. Very very says to perform this function 3 times, 3 times. or 3^3 = 27 iterations of the function. The number of "f"'s between the originally entered letters would be (2^n-1) where n is the number of iterations. Very very would make 2^27-1 "f"s between each letter which is a little more than 134 million. Times 4 for the total amount of f's.

    • @HolyGarbage
      @HolyGarbage 8 лет назад

      +Evan Hines You sure? scyzzo's math seems correct. I don't think it's infinite recursion in this case.

    • @FrungyKing
      @FrungyKing  8 лет назад +4

      +HolyGarbage FrungyKing here!! scyzzo is right. hines is wrong. you can just type in something like "length very very swedish greeting" and when it's done computing, it will say some number in the millions.

  • @_Junkers
    @_Junkers 8 лет назад +112

    I really don't know whether to like or dislike this video

  • @F3udF1st
    @F3udF1st 9 лет назад +98

    I'm swedish and I've never heard anyone use that greeting. Apparently no one has ever been polite to me.

    • @iii-ei5cv
      @iii-ei5cv 5 лет назад +13

      They just didn't have the lungs for it

  • @ToastiLP
    @ToastiLP 8 лет назад +136

    Omg im crying havent had such a good laugh in a long time

    • @gentlemenbandit541
      @gentlemenbandit541 7 лет назад +11

      I, too, shed some tears. Wish FrungyKing would take a page from Bucky of TheNewBoston and make a whole series of Haskell tuts!

    • @FrungyKing
      @FrungyKing  7 лет назад +34

      Yeah! Make more videos on Haskell, FrungyKing!

    • @aaron___6014
      @aaron___6014 6 лет назад +2

      You guys need to get out more.

  • @intelX1000
    @intelX1000 9 лет назад +151

    Hey bro, do you happen to like cats?

  • @AmatisoveLove
    @AmatisoveLove 9 лет назад +23

    I honestly couldn't stop laughing while watching this. Great job, you truly encouraged me to try out some Haskell!

    • @FrungyKing
      @FrungyKing  8 лет назад +1

      +Złotowłosa Panda Thank you!

  • @WhoopDePoopDeScoop
    @WhoopDePoopDeScoop 7 лет назад +60

    windows user and Haskell programmer? didn't know they exist!

  • @ClusterOfBlueRabbits
    @ClusterOfBlueRabbits 11 лет назад +16

    That was possibly the best video I have ever seen. I must have watched tens of thousands of videos on RUclips alone by now and that was simply perfect. It was hilarious, informative and interesting. Good work.

  • @halvtysk
    @halvtysk 8 лет назад +282

    As a swedish programmer, I approve!

    • @noelearlwatson2724
      @noelearlwatson2724 8 лет назад +6

      Jag med

    • @Luredreier
      @Luredreier 7 лет назад

      Mattias Zippert Not a fan of the humor. But different preferences.

    • @squelchedotter
      @squelchedotter 4 года назад +2

      But what about a very swedish programmer

    • @dromedda6810
      @dromedda6810 Год назад

      Hfeflfelfo ! ffeffleoow sfwefdisfhf fpfrofgfrfamfemfmer !

  • @mattetis
    @mattetis 10 лет назад +44

    Haskell is great because of this video

  • @DarthFennec
    @DarthFennec 7 лет назад +17

    At first I saw all the folders and recoiled. Then I took a closer look and realized they were all labelled "Cat Pictures". I love it.

  • @supernewuser
    @supernewuser 9 лет назад +16

    I have to admit, this is pretty fucking hilarious.

  • @Mankepanke
    @Mankepanke 2 года назад +12

    "With Haskell I can implement a working universal everything-into-Swedish translator in 9 minutes."
    "Wow, that is very impressive"
    "Yeah, and the last 30 seconds is spent making Haskell prove that God is real. No biggie."

  • @DavidNuon
    @DavidNuon 11 лет назад +5

    Please do more of these, this is by far the best overview of Haskell I've seen.

  • @korigamik
    @korigamik 2 года назад +2

    thank you. I hope I'll be able to achieve a lung blower in life once.

  • @FetchTheCow
    @FetchTheCow Год назад +2

    I LIKE the abundance of whimsy! Subbed.

  • @kapral18
    @kapral18 8 лет назад +7

    This was an awesome haskell stand-up. Keep 'em coming.

    • @FrungyKing
      @FrungyKing  8 лет назад +2

      +Karen Grigoryan Thank you! Will do (maybe).

  • @knightriderdot
    @knightriderdot 11 лет назад +3

    Incredibly, that both taught me a bit more about Haskell and was hilarious at the same time!
    Great vid, I'd watch more for sure.

  • @MyAce8
    @MyAce8 8 лет назад +39

    can you do audio books

    • @FrungyKing
      @FrungyKing  8 лет назад +26

      +Ace shinigami I damn well should.

    • @FrungyKing
      @FrungyKing  8 лет назад +14

      +Ace shinigami Just did my first one! It's the book "I Have No Mouth, And I Must Scream" by Harlan Ellison. Newest upload on my channel

  • @MrNacknime
    @MrNacknime 8 лет назад +16

    You really sound like Casually Explained

  • @mattpryor216
    @mattpryor216 2 года назад +2

    This makes me think Haskell would be perfect for creating your own scripting language

  • @maxwellstrange9450
    @maxwellstrange9450 7 лет назад +4

    This is probably the greatest video on RUclips

  • @nutbunny10
    @nutbunny10 7 лет назад +1

    This was one of the most fun programming vids I've come across. Good job.

  • @elinaesh
    @elinaesh 8 лет назад +38

    This is hilarious.

    • @FrungyKing
      @FrungyKing  8 лет назад +6

      +Elina Shakhnovich Thank you!

  • @GregWalker88
    @GregWalker88 9 лет назад

    You are the funniest person I've never met. Thank you.

  • @alexkeliris
    @alexkeliris 8 лет назад +21

    This was hilarious, good job.

  • @jeroendecat
    @jeroendecat 7 лет назад +9

    I didn't know a video about programming could make me laugh this hard!

  • @potatooflife8603
    @potatooflife8603 4 года назад +1

    This is amazing. I laughed throughout the video. Your channel is amazing. Keep it up!

  • @kellybrower7634
    @kellybrower7634 8 лет назад +46

    Check mate, Atheists.
    hey dude, be my friend

    • @FrungyKing
      @FrungyKing  8 лет назад +51

      I have no friends.

    • @kellybrower7634
      @kellybrower7634 8 лет назад

      +FrungyKing demon

    • @neonz2712
      @neonz2712 4 года назад +1

      @@FrungyKing Same. Only the demons in my head.

  • @m1kr0kosmos
    @m1kr0kosmos 2 года назад +1

    …you are the hero we never knew we *needed*

  • @Adraria8
    @Adraria8 8 лет назад +23

    enthusiastically yell very Swedish "great vid mate"

  • @samr.7515
    @samr.7515 7 лет назад

    Hilarious man. Even links in the description give you a good laugh. Well done.

  • @BeansEnjoyer911
    @BeansEnjoyer911 2 года назад +1

    This may be my favorite coding video

  • @BIDZ180
    @BIDZ180 2 года назад +1

    I'm so glad I remembered this video exists

  • @xBlixon
    @xBlixon Год назад +1

    Came here to see haskell, but instead learned swedish. Great video!

  • @togelian
    @togelian 7 лет назад +2

    As a Danish programmer, I agree with the premise that more f's is what
    makes Swedish Swedish. More Æ/Ø/Å's does make Danish Danish :P (for those who - like me - slept in geography; Denmark is next to Sweden).

  • @EamonNerbonne
    @EamonNerbonne 11 лет назад +1

    It's been a while since I did anything in haskell, so for others wondering how you arrived at 27 applications of swedish, here's my derivation:
    given v=very, s= swedish, and that a function f applied n times is written f^n
    very very swedish
    = (v v) s
    = v(v(v(s)))
    = v(v(s^3))
    = v( (s^3)^3 )
    = ((s^3)^3)^3
    = swedish^27

    • @doublex85
      @doublex85 5 лет назад

      Also, swedish^n intersperses 2^n-1 f's:
      swedish "ab" = "afb"
      swedish (swedish "ab") = "afffb"
      So, swedish^27 = intersperse ('f' * 134217727)

  • @lucasa8710
    @lucasa8710 Год назад +2

    This is beyond my capabilities

  • @1990Hefesto1990
    @1990Hefesto1990 10 лет назад +1

    Just finished 'Learn you a haskell for great good!' And to celebrate, I'll make my first youtube comment and try to get some attention (any) from the great master that introduced me to it.
    You're video became my inspiration. Your really cool.
    Its a good day to learn haskell. Everybody should also learn it from Learn You Haskell, it's jokes are also pretty nice.
    Greetings from México City

    • @FrungyKing
      @FrungyKing  8 лет назад

      +Daniel Herrera Rendón I thank you for making your first RUclips comment on this video. I tried to reply to this comment when it was new, but the 'reply' button was jammed for a few months.

    • @1990Hefesto1990
      @1990Hefesto1990 8 лет назад

      +FrungyKing :)

  • @HA7DN
    @HA7DN 2 года назад

    Just realised you have some Star Control videos too! You earned a subber by this combination.

  • @ztaticcitatz4088
    @ztaticcitatz4088 10 лет назад +3

    I love this guy's sense of humor

  • @blaisemurphy9252
    @blaisemurphy9252 2 года назад +2

    The perfect RUclips video doesn't exist... 😳😂

  • @hypernarutouzumaki
    @hypernarutouzumaki 3 года назад +1

    I was digging through youtube learning about FP and this video opened my eyes. I am a master of FP now :D

  • @orlando7448
    @orlando7448 9 лет назад

    My Lung Blower 5000 has allowed to be be a big shot Swedish Haskell programmer. Thank you, FrungyKing.

  • @jesusisalive2
    @jesusisalive2 8 лет назад +7

    ok. haskell is great and swedish is FFFFFFF-ing GREAT!

  • @bonifackener8026
    @bonifackener8026 Год назад

    Best haskell video i've ever seen.

  • @nullset2
    @nullset2 7 лет назад +1

    dude I loved this video so much, I'm totally subscribed now

  • @MartinSmithMFM
    @MartinSmithMFM 6 лет назад +1

    Swedish is also on of the most subtle and expressive of languages.It is possible to be sensitive to both it (or any language, really) and Haskell.

  • @brettefantomet
    @brettefantomet 7 лет назад +1

    This is hilariously funny, this is how the internet should be. Important content you can learn something from that is also funny. Subbed and Liked!

  • @RonWolfHowl
    @RonWolfHowl 8 лет назад +2

    I think you just won the Internet.

  • @DominicLondon
    @DominicLondon 7 лет назад +5

    Love the Seinfeld reference.

  • @vetiarvind
    @vetiarvind 2 года назад +1

    came for haskell stayed for the laughs

  • @shadowgallery97
    @shadowgallery97 6 лет назад

    A revolution without dancing is a revolution not worth having.

  • @tomeuari
    @tomeuari 9 лет назад

    this is the best very swedish video in youtube.

  • @def__init
    @def__init 5 лет назад +1

    This is everything I expected in a casual Haskell tutorial.

  • @julianduniec
    @julianduniec 10 лет назад +8

    Well, after a life of procedural programming, I finally got the föfflörrben, and will try Haskell, thanks to this!
    Great job! =D

  • @robomanskate
    @robomanskate 11 лет назад

    Oh my god your delivery is perfect, and I actually know what a functional programming language properly is now. Please more them.

  • @1starb_823
    @1starb_823 10 лет назад +3

    "Learn swedish responsibly, always with a spotter" !!

  • @SmashedRadio
    @SmashedRadio 10 лет назад +4

    Came to learn some haskell... left the video to order the lung blower

  • @lucasblotta9930
    @lucasblotta9930 8 лет назад +9

    "Learn Swedish responsibly" --Robbaz 2013

    • @axea4554
      @axea4554 5 лет назад

      Is this is really robbaz???

    • @FrungyKing
      @FrungyKing  4 года назад

      @@axea4554 Sadly, I'm not Robbaz. Just got the impersonation decent.

  • @patocontreras8336
    @patocontreras8336 6 лет назад +1

    LOL
    I'll try to explain what happened with that `very very swedish greeting`
    First of all, let's think about what result of evaluating `swedish (swedish "ab")`. "afffb" That one is easy, right?
    For the slow ones, what `swedish` actually do is insert an f between every letter in a given word. So `swedish "ab" = "afb", swedish (swedish "ab") = "afffb"`.
    The amount of "fs" inserted is going to grow as you apply `swedish` more and more, because it depends on the size of the word.
    If you think about it for a while, you'll find that if you apply `swedish` n times to "ab" you're going to get (2^n - 1) fs inserted.
    Going back at the original example, what `very` do is composing a given function 3 times.
    If you pass `very` as the first parameter of the `very` function, it will apply `very` 3 times to a given function, which is equivalent to apply the same function 27 times.
    In conclusion, the amount of fs inserted in `very very swedish "ab"` is going to be A LOT.
    Can I get my doctorate now?

  • @cinnamonroll4054
    @cinnamonroll4054 2 года назад +4

    is no one gonna talk about the "recycle bin laden" thing he's gone done?

  • @gatufo
    @gatufo 8 лет назад +4

    You made my day! LOL thank you :)

  • @myName-dg2qm
    @myName-dg2qm 10 лет назад +1

    Hahaha! Im just starting to look into Haskell. The bit about the Ontological Argument was hillarious! Lovin the dorky/silly/clever jokes!!! :D

  • @TheRedbeardster
    @TheRedbeardster 10 лет назад

    The cat on the wallpaper is awsome!

  • @_ben.
    @_ben. 4 года назад +1

    my favorite part is how you keep clicking the only button that would make the windows pop-up appear again

  • @bjornezy
    @bjornezy 11 лет назад

    Your pronunciation of Swedish is excellent.

  • @crclayton
    @crclayton 7 лет назад

    This was so fucking smoothly delivered.

  • @jonathantan3226
    @jonathantan3226 10 лет назад +1

    I rarely comment.
    Excellent, hilarious introduction to Haskell. Thank you.

  • @nickallbritton3796
    @nickallbritton3796 3 года назад

    The serious dedication to being unserious in this video is impressive.

    • @FrungyKing
      @FrungyKing  3 года назад +1

      "Some people think that Discordians take serious things humorously. That is not quite true; rather, we take humorous things seriously." - Principia Discordia

  •  10 лет назад +5

    My program terminated with Catoverflow at memory address 0x000000. What to do?

    • @willmcpherson2
      @willmcpherson2 5 лет назад

      You were trying to use the Swedish address 0xffffff but you used one too many Fs

    • @douwehuysmans5959
      @douwehuysmans5959 5 лет назад

      Just add 1

  • @jinilover
    @jinilover 6 лет назад

    We are already doing Haskell programming in the jr. high school math class or even earlier. It's call function and its concept is mapping and substitutions. Don't need to bother with functors, applicatives, and monads in the beginning. Very soon we will face other problems and these unfamiliar names will come to rescue.

    • @FrungyKing
      @FrungyKing  6 лет назад

      Thanks for this info. I hadn't asked in the video but I wanted to know about that. I had no idea that they're introducing it in high schools. I haven't been to a school in a long time and when I went to uni it was for something other than computer stuff. Thanks for that 'market' info.

    • @jinilover
      @jinilover 6 лет назад

      Definition of a function and its basic usage was taught in the jr. high school. It didn't teach currying, functors, ...😉But this high school subject is the fundamental of fp. IMO, people have no programming knowledge but remember what is a math function can pick up Haskell programming more easily than those having programming experience.
      Btw, your video is awesome. Thanks for the sharing.

  • @welpidk6104
    @welpidk6104 6 лет назад

    Funniest video on the internet. Thank you for blessing humankind with this absolute masterpiece

  • @portlyoldman
    @portlyoldman 2 года назад

    Who knew an interest in pure functional programming in 2021 could lead me to this hilarious … “thing” 😁🤣🤪

  • @hmemcpy5807
    @hmemcpy5807 7 лет назад +2

    Your desktop made me have a catamorphism

    • @Evan490BC
      @Evan490BC 5 лет назад

      This is tha best comment so far!

  • @gspindles
    @gspindles 10 лет назад

    You are hilarious. 72 folders of cat pictures on your desktop? I can't even dream to beat that.

  • @alexc3681
    @alexc3681 9 лет назад +1

    Functional programming languages are pretty nice. Thanks for teaching me some Swedish and other valuable information.

  • @TheSpacecraftX
    @TheSpacecraftX 5 лет назад

    Amazing delivery.

  • @boxedowl
    @boxedowl 10 лет назад +6

    That was so awesome I think I died a little. I certainly can't breath.

    • @FrungyKing
      @FrungyKing  10 лет назад +4

      Thanks, kind fan. But I believe that you meant to type either "I certainly can't breathe" or "I certainly can't take a breath". Breathe is a verb and breath is a noun.

    • @davisn90210
      @davisn90210 9 лет назад +6

      +FrungyKing Whatever, that's just grammar ... who needs it anyway?

    • @FrungyKing
      @FrungyKing  9 лет назад +1

      *****
      THAT'S hilarious.

    • @Brabec95
      @Brabec95 8 лет назад

      +FrungyKing always I get confused about that, I'm Brazilian, thanks anyway, awesome video

  • @franeklubi
    @franeklubi 5 лет назад

    Man that was brilliant and very informative, best programming tutorial on RUclips

  • @farshadgoldoust6548
    @farshadgoldoust6548 5 лет назад

    it's a bit too much dude, YOU'RE a BLOODY PSYCHO! I love you so much

  • @891delta
    @891delta 9 лет назад

    This is the best programming video I've ever watched because I also got to learn some Swedish.

  • @iambigred
    @iambigred 11 лет назад

    I honestly learnt more about Haskell from this video than from a semester learning Haskell at uni.

  • @SimonBarr
    @SimonBarr 4 года назад +1

    "that's not just a linguistic convenience, it's also a linguistic convenience"

  • @ArachnidAbby
    @ArachnidAbby 4 года назад

    "that's not just a linguistic convenience its also a linguistic convenience"

  • @vasanthaganesh7155
    @vasanthaganesh7155 8 лет назад

    you sir deserve a cookie!

  • @gianclgar
    @gianclgar 3 года назад

    when i feel sad i put myself this video to cheer me up

  • @OSN-News
    @OSN-News 8 лет назад +4

    Not enough Cat folders.

  • @GiovanniCostagliola
    @GiovanniCostagliola 11 лет назад

    You must absolutely continue with these lectures!!!

  • @priyankkumar8197
    @priyankkumar8197 3 года назад

    This the funniest tutorial I came across.

  • @kiliankoe
    @kiliankoe 11 лет назад

    After much internal debate, I have come to the conclusion of liking your video. But please do us all a favor and keep the ludicrous amount of jokes coming. We promise to learn swedish safely as well.

  • @celocb1234
    @celocb1234 9 лет назад +2

    Great video, specially the option for the personname.
    +FrungyKing take $1 on me +ChangeTip. Keep it up!

  • @fsmvda
    @fsmvda 11 лет назад

    The world needs more of these videos