Domain Modeling Made Functional - Scott Wlaschin

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

КОМЕНТАРІ • 22

  • @dibley1973
    @dibley1973 7 років тому +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

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

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

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

  • @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 Рік тому

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

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

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

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

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

  • @lucasa8710
    @lucasa8710 2 роки тому +3

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