• 3 Posts
  • 330 Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle


  • trachestoProgramming@programming.devBaby unit tests
    link
    fedilink
    English
    arrow-up
    39
    ·
    3 days ago

    I don’t get the hatred for types, they have saved my ass so many times and saved so many headaches exactly like what the article describes. I used to write a lot of ruby and after getting decent at typescript I can’t go back.

    It’s not just ceremony, types ensure some level of logical consistency in your app. They reduce how much of the world you need to keep in your head at one time, and they allow you to express your intent far more robustly than comments and naming can. I love rust’s approach of making invalid state not even representable.




  • trachestoSelfhosted@lemmy.worldHelp with training plan
    link
    fedilink
    English
    arrow-up
    6
    ·
    4 days ago

    Seems fine, but you’re sorta hitting two fields at once. Application development (coding) is a different skill set from devops/deployment (docker). I’d stay pretty surface level on docker and the CLI for now and focus on building your app. You’ll know when you need to go off and learn those things.









  • I haven’t done this recently enough to guide you on the details, but step zero is to decide whether you are certain you want to dual boot or not. It adds a lot of complexity and brittleness that is best avoided if at all possible.

    • Try to find Linux compatible replacements for the software you need.
    • if that doesn’t exist, see if you can run it on Linux with wine.
    • If that isn’t possible, consider running windows inside a virtual machine on Linux.
    • If you do want honest, bare-metal windows then using two different physical drives will be easier and more reliable. Ideally your laptop has room for two drives, otherwise you can dangle a USB SSD (not a flash drive). Windows won’t install to a USB drive but Linux doesn’t care.