• 2 Posts
  • 22 Comments
Joined 2 years ago
cake
Cake day: June 9th, 2023

help-circle



  • First, persistency. You data lifecycle may not be directly proportional to your applications lifecycle. You may need it even after the app is shut down.

    Second, RDBM systems provide a well defined memory/storage structure and API - “structured query language”. This enables you to easily query your data and acquire suitable views that are beneficial for your applications purposes.

    Third, It’s always better to outsource your data layer to a battle tested, and trustworty database then trying to reinvent the wheel.

    So this paves a road for you to focus on your business logic than splitting that focus for the data layer and business logic.


  • I see that the problem arises from the "visionary, but lower experienced newer developers (compared to the past generation) " trying to fix a world where “don’t touch it if it works crowd who has seen all old timers” built, by putting each layer over the older one. It has all the capabilities, but there is no “single vision”, no “well defined api”.

    Old established paradigms are being broken. Some conventions are forgotten, new tooling and perspectives are being built.

    Sure this means there is an unfortunate clash is happening.

    I can’t say if this is a better, or wiser world or not, however I can only say this is the way now. You can adapt, try to embrace and push forward things or you can try to stay away and become one of the legendary Cobol developer crowd. We know they are there in the wild, but we can’t find them.














  • fsniper@kbin.socialOPtoProgrammer Humor@lemmy.mlIncremental programming
    link
    fedilink
    arrow-up
    2
    arrow-down
    2
    ·
    edit-2
    1 year ago

    It’s not the real issue. I introduced that while anonymizing the data. It’s that a 3-5 liner code became a huge switch case by just incrementing the code and never thinking how it should be done. This was caused by like 15 engineers in time :)

    Something like below would be huge improvement:

    subs1 = ["cluster1", "cluster2"]
    if subs1.contains(clusterName) return subs1