Understanding the Standard Library

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ธ.ค. 2024

ความคิดเห็น •

  • @jevoncharles606
    @jevoncharles606 6 ปีที่แล้ว +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  6 ปีที่แล้ว +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 ?

  • @meherkasam
    @meherkasam 4 ปีที่แล้ว +1

    I nearly never comment on TH-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.

  • @Ra_v06
    @Ra_v06 6 ปีที่แล้ว +13

    Part where you combine 3 methods was brilliant!

  • @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!

  • @dambar011
    @dambar011 2 ปีที่แล้ว +1

    Just amazing

  • @VladBatrinu
    @VladBatrinu 6 ปีที่แล้ว +2

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

  • @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.

  • @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?

  • @droneflightseeing1472
    @droneflightseeing1472 5 ปีที่แล้ว +1

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

  • @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.

  • @JasonMitchellAZ
    @JasonMitchellAZ 5 ปีที่แล้ว +1

    Ok, Paul’s a genius 🤯

  • @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!

  • @rickisyourbro
    @rickisyourbro 4 ปีที่แล้ว +1

    Great video!

  • @bsc_mssv
    @bsc_mssv 5 ปีที่แล้ว +2

    Wow, this is awesome :O

  • @jasuramirov3366
    @jasuramirov3366 3 ปีที่แล้ว

    thank you, good job !

  • @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

  • @shofada
    @shofada 6 ปีที่แล้ว +1

    Brilliant!!!

    • @twostraws
      @twostraws  6 ปีที่แล้ว

      I'm glad you enjoyed it!

  • @aguswidhiyasa
    @aguswidhiyasa 5 ปีที่แล้ว +1

    This video blow my mind

  • @bart2865
    @bart2865 2 ปีที่แล้ว

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

  • @antoniodemingo326
    @antoniodemingo326 5 ปีที่แล้ว +1

    Amazing! :O

  • @餮饕-p2q
    @餮饕-p2q 4 ปีที่แล้ว

    Smarter, Safer, Faster

  • @thanatosor
    @thanatosor 4 ปีที่แล้ว

    This made me miss FSharp function compose ever more

  • @shubhamshah4322
    @shubhamshah4322 4 ปีที่แล้ว +2

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

  • @8prot8
    @8prot8 6 ปีที่แล้ว

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

  • @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.