Domain Modeling Made Functional - Scott Wlaschin

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

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

  • @dibley1973
    @dibley1973 6 ปีที่แล้ว +29

    Fantastic video. I am a C# developer and already try to follow some functional principles thanks to people like Vladimir Khorikov, and am already trying to avoid primitive obsession, but to do that in C# is so verbose. But your video now make me want to move from C# to F#. I am loving the type safety of it.

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

      I know Im asking randomly but does anybody know of a method to get back into an Instagram account..?
      I was dumb forgot my password. I appreciate any tricks you can give me!

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

      @Andy Memphis instablaster :)

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

      @Mathias Kash thanks for your reply. I got to the site on google and Im waiting for the hacking stuff now.
      Takes quite some time so I will reply here later with my results.

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

      @Mathias Kash It worked and I finally got access to my account again. Im so happy:D
      Thanks so much, you saved my account :D

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

      @Andy Memphis happy to help :D

  • @protaties
    @protaties 5 ปีที่แล้ว +9

    One of my colleagues often says that Scala is the only language that brings functional programming into the industry. I just sent this to him.

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

    One of the best talks I’ve heard on functional programming in practice.

  • @CZGaming4U
    @CZGaming4U ปีที่แล้ว

    But we would eventually need to throw an exception when the create functions return null, wouldnt we? Wouldnt it be better then throw as close as possible to the actual root cause, so from within the create function? We also avoid repetition.

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

    Isn't a type chane going to send out ripples across the codebase? This will make feature addition or modification difficult.

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

      yes, and that's a good thing! the alternative is that your app crashes at runtime instead of compile time.

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

    This verified email thing looks over complicated, especially with private constructor..

  • @bobweiram6321
    @bobweiram6321 3 ปีที่แล้ว +1

    Someone in the audience is hacking a lung instead of F#

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

      I've been binging Scott's conference talks and the really weird thing is there is a guy coughing his lungs out in EACH ONE of them. I'm starting to suspect it's somehow the same person lol

    • @dennohpeter
      @dennohpeter ปีที่แล้ว

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

    Right at the beginning, as soon as I see "FirstName MiddleInitial LastName" I hope "PLEASE this time let the 'domain modelling expert' tell us first thing that this is a stunningly BAD representation for names, because if he doesn't know what the issues are in modelling names, why should I believe he knows anything else about domain modelling?"
    - What about people who use their 2nd name instead of the 1st?
    - What about people like my father who use their 3rd name (out of 4) rather than the 1st or 2nd?
    - What about people who only have one name?
    - What about people with multipart surnames like "Ní Dhónaill" or "Bean Uí Mhurchú " or "van der Pol"?
    - What about people like Hungarians and Chinese who want their family name to be written first? (There is a distinction between First name and Given name.)
    - What about people with names that can be written in two different scripts, where the collation order differs between the scripts and the name should be recognised as the same name whichever script it's in (I'm thinking of chinese characters and Pinyin here)?
    Names are HARD and we shouldn't be reinforcing bad ways to deal with them.

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

      It's a toy example for a conference, calm the fuck down.

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

    Great but a bit scary : not all cultures have multiple names, never glue lego pieces together 🙂

  • @lucasa8710
    @lucasa8710 2 ปีที่แล้ว +3

    why every talk about FP has a guy coughing the entire video??? hahahaha

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

      I'm so glad other people have noticed! It's so annoying!

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

    "In real world we need to deal with databases"
    Please upgrade your database
    github.com/mozilla/mentat