• nipafx Profile Picture

    Nicolai Parlog 🇺🇦🕊️ @nipafx

    3 years ago

    What's #DataOrientedProgramming? Why use it, what are its principles, and how does it compare to OOP? (Or is it just an excuse to use records, sealed types, and pattern matching?!) 8-min answer in the latest Newscast youtube.com/watch?v=5qYJYG…, 9-tweet answer right here. 🧵👇🏾

    3 25 82 0 35
  • nipafx Profile Picture

    Nicolai Parlog 🇺🇦🕊️ @nipafx

    3 years ago

    OOP is great for defining/defending boundaries in a complex, stateful system - good for libraries, frameworks, large apps. But in smaller services, internal boundaries are less important. On the other hand, surface area is larger (relatively), so more code handles in/out data.

    1 0 0 0 1
  • nipafx Profile Picture

    Nicolai Parlog 🇺🇦🕊️ @nipafx

    3 years ago

    Here, DOP comes in. It models data as data (with records and sealed types) and implements polymorphic behavior separate from it (with pattern matching). There are four principles (from @BrianGoetz' InfoQ article: infoq.com/articles/data-…) ...

    1 3 7 0 3
  • nipafx Profile Picture

    Nicolai Parlog 🇺🇦🕊️ @nipafx

    3 years ago

    1. Model the data, the whole data, and nothing but the data. Use records with clear type and component names to model a datum and sealed interfaces to model choice, where each implementation is a record. Limit behavior in records to derived quantities.

    1 0 2 0 0
  • Download Image
    • Privacy
    • Term and Conditions
    • About
    • Contact Us
    • TwStalker is not affiliated with X™. All Rights Reserved. 2024 www.instalker.org

    twitter web viewer x profile viewer bayigram.com instagram takipçi satın al instagram takipçi hilesi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al sosyalgram takipçi satın al instagram ücretsiz takipçi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al metin2 metin2 wiki metin2 ep metin2 dragon coins metin2 forum metin2 board popigram instagram takipçi satın al takipçi hilesi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al buyfans buy instagram followers buy instagram likes buy instagram views buy tiktok followers buy tiktok likes buy tiktok views buy twitter followers buy telegram members Buy Youtube Subscribers Buy Youtube Views Buy Youtube Likes forstalk postegro web postegro x profile viewer