Understanding the Standard Library

Поділитися
Вставка
  • Опубліковано 27 жов 2024

КОМЕНТАРІ • 40

  • @jevoncharles606
    @jevoncharles606 5 років тому +21

    This could be the most important video I have ever watched! I know swift and have been coding with it for some time now, but this video just showed me a whole new world.

    • @twostraws
      @twostraws  5 років тому +3

      I'm glad to hear you enjoyed it! I hope to be recording some new videos soon that should prove just as valuable - watch this space 👍

    • @thanatosor
      @thanatosor 3 роки тому

      Like what ?

  • @Ra_v06
    @Ra_v06 6 років тому +13

    Part where you combine 3 methods was brilliant!

  • @meherkasam
    @meherkasam 4 роки тому +1

    I nearly never comment on UA-cam videos. This is one video that I’ll make an exception for because of how great it is! Thank you for all your work.

  • @smil1906
    @smil1906 4 роки тому +7

    Keep up the brilliant work! You're making a huge impact on the iOS community 🚀

  • @gio8139
    @gio8139 5 років тому +1

    Thank you for breaking everything down Paul. Thanks for all that you do for the community. Good luck with your own convention!

  • @WilderPoo
    @WilderPoo 3 роки тому +1

    The composition one blew my mind 🤯 really made something click in my head. Binary relations in action!

  • @jakobskovsndergard7912
    @jakobskovsndergard7912 2 роки тому

    Hi Paul, I have bought a lot of your books, used them very little, I expect that to change. However you are always my goto point for knowledge on swift. Your videos are amazing!!! Sometimes I see them just for fun in stead of Netflix. Im finishing my university degree in software engineering this summer, and definitely want a job where I get to work with swift, even though the university gave no lectures on Swift.
    This video in particular is really good, it is enlightening to learn that you can get that much understanding from studying the sourcecode of swift.
    Thank you!

  • @VladBatrinu
    @VladBatrinu 6 років тому +2

    wow, so awesome!! The rethrows one felt like magic

  • @dambar011
    @dambar011 2 роки тому +1

    Just amazing

  • @garyvia602
    @garyvia602 5 років тому +1

    Crazy that you published it for free, many would have already put it on Udemy, and spammed sponsors or ads for the money, but you did not!

  • @gjermundification
    @gjermundification 6 років тому +1

    Amazing! I did not know that the standard library was there. I only looked into the make part of the cpp side of swift for the purpose of compiling this for illumos.

  • @droneflightseeing1472
    @droneflightseeing1472 5 років тому +1

    Such wow... I would love to see more similar videos

  • @markuspfeifer8473
    @markuspfeifer8473 4 роки тому

    Using the de-Morgan rule for allsatisfy admittedly makes the code shorter, but a) is the Compiler smart enough to inline the inversions into the jump instructions or are they actually carried out, thereby decreasing performance? b) I guess contains is implemented the way we‘d expect? c) if so, was the choice which one to do via de-Morgan arbitrary?

  • @ftnsco
    @ftnsco 5 років тому +1

    Paul, thanks for sharing this knowledge.
    I wanted to inform you that on, 13:15 the slide does not match your voice. You say you'll add this to safer, slide shows smarter. 👋

  • @fedoseevvadim
    @fedoseevvadim 5 років тому +1

    I admire you! It is really fascinating!

  • @JasonMitchellAZ
    @JasonMitchellAZ 5 років тому +1

    Ok, Paul’s a genius 🤯

  • @rickisyourbro
    @rickisyourbro 4 роки тому +1

    Great video!

  • @jasuramirov3366
    @jasuramirov3366 3 роки тому

    thank you, good job !

  • @TheBardsCorner
    @TheBardsCorner 5 років тому

    Amazing video! Thank you Paul!
    The last part was a bit obscure to me.
    I can't understand how we go from declaring an infix operator >>> to declaring a function that is also called >>> and then use it...
    When we write combined = ........, we just use the infix operator, but where is our function in action?
    Thanks!

    • @daniilgavrilikhin34
      @daniilgavrilikhin34 2 роки тому

      infix operator >>> = ... is just a declaration of infix operator inside specified precedence group. Function >>> defines behavior of the operator.

  • @bsc_mssv
    @bsc_mssv 5 років тому +2

    Wow, this is awesome :O

  • @bart2865
    @bart2865 2 роки тому

    Wow it's the unique lecture!
    by the way why did you bring this guy? 😂 44:10

  • @aguswidhiyasa
    @aguswidhiyasa 5 років тому +1

    This video blow my mind

  • @antoniodemingo326
    @antoniodemingo326 5 років тому +1

    Amazing! :O

  • @shofada
    @shofada 5 років тому +1

    Brilliant!!!

    • @twostraws
      @twostraws  5 років тому

      I'm glad you enjoyed it!

  • @餮饕-p2q
    @餮饕-p2q 4 роки тому

    Smarter, Safer, Faster

  • @THE_ONLY_GOD
    @THE_ONLY_GOD 2 роки тому

    In krakow?! I used to reside there.

  • @jatinmenghani3072
    @jatinmenghani3072 6 років тому

    What terminal extensions or tools are you using?

    • @twostraws
      @twostraws  6 років тому

      I use zsh with Prezto: github.com/sorin-ionescu/prezto

  • @thanatosor
    @thanatosor 4 роки тому

    This made me miss FSharp function compose ever more

  • @8prot8
    @8prot8 5 років тому

    precondition(!scores.isEmpty, "Error..") is better than precondition(scores.count > 0, "Error...") i guess )

  • @shubhamshah4322
    @shubhamshah4322 4 роки тому +2

    grep "precondition(" * | wc -l
    Now shows 250 :p

  • @KushalAshok
    @KushalAshok 5 років тому

    Boom!

  • @DhavalHNena
    @DhavalHNena 2 роки тому

    🤯🤯🤯

  • @餮饕-p2q
    @餮饕-p2q 4 роки тому

    一代新人换 mattt

  • @Boratio
    @Boratio 4 роки тому

    Coming with some OCaml, Standard ML, and Haskell experience, it's amazing how shitty some of Swift's function signatures are. First thing I noticed when he talked about *func* _&&_ . In OCaml it's just *(&&)* : _bool_ -> _bool_ -> _bool_ . I love your tutorials though, Paul. It's not your fault Swift is a shit show compared to OCaml, Standard ML, and Haskell.