• 0 Posts
  • 49 Comments
Joined 3 years ago
cake
Cake day: June 18th, 2023

help-circle
  • sip@programming.devtoProgrammer Humor@programming.devNo Microslop for me
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    6 days ago

    I applied to a (among other techs) nodejs position for a finance company. I asked 5 times in all interviews if it’s ok to run linux, just to make sure.

    they said yes, and after signing the contract, I was send the instructions via email and company laptop was shipping. In the instructions, I was supposed to work through some remote desktop on a windows machine. fuck me

    I instantly resigned, one day before starting.I refused the parcel so it went back to the mothership without me even touching the box










  • composition can help with all of that. factories, strategies, injections are all composition patterns that work fine.

    business logic that repeats? extract it to it’s own thing (class, function, etc) and pass it as a param to the supposed childs.

    mvc? controllers don’t need to extend anything, just have them accept the framework through the constructor and request and response as args. views? same. models? perhaps only if doing an active record, but a repo pattern with plain objects is a good pattern too.

    I never seen a clean inheritance implementation for a decently sized problem. it mostly works for tiny ones.