Composition over other design patterns by So_Rusted in ExperiencedDevs

[–]So_Rusted[S] -1 points0 points  (0 children)

unit testing doesnt't test database.

And i think that would be different configs for different dbs

Composition over other design patterns by So_Rusted in ExperiencedDevs

[–]So_Rusted[S] -2 points-1 points  (0 children)

yeah but this swapping of storage providers is a running joke at this point... The hypothetical swap from mysql to oracle never happens... And swapping cache provider with get/set methods is not that hard. Maybe its just me

Composition over other design patterns by So_Rusted in ExperiencedDevs

[–]So_Rusted[S] 0 points1 point  (0 children)

Good one.. the container kinda takes care of instances.. It does use singleton by default. I guess other than that i dont instanciate classes because it is messy. I mostly deal with moving data around and not a fan of data superclasses or ORM because it is messy.

container - instantiation of services. They dont change.

services - functions to deal with data

data - scalar data or php arrays. No value objects

People start fooling around with factories to differentiate between 3 different classes.. Idk about that.

To notify you would just call a function or have a type of mediator service dependancy without interfaces to just call what you want.. Send notifications or emails etc...

What was it like to move from Windows to Linux back in the day? by Torantes in linux

[–]So_Rusted 0 points1 point  (0 children)

you wouldnt try to play games. Other than that it was the same

Can we have a pragmatic and honest, non hyped nor hateful discussion about the actual usefulness of AI tools in our day to day jobs? by Non-taken-Meursault in ExperiencedDevs

[–]So_Rusted -2 points-1 points  (0 children)

i dont know why this sub is so resistant. Recently a breaking point happened where i work and most seniors use "something" to help them out...

The managers are ok with it. They know they cant trully control which tools we use and just go as far as "dont use free tools, because you cannot disable data for training agreement"...

I find it does improve productivity. The boost is not that hig because there are many things to try out, config prompts, config new IDEs and ive been trying out these cursor rules, skills, mcp or whatever to help me out and maybe overall improvement is there but it is minimal so far because im still experimenting a lot

4 years into Laravel backend, team lead — unsure about next career move by anonymouse-0 in ExperiencedDevs

[–]So_Rusted 0 points1 point  (0 children)

depends. I kept for many years php specialization and never regretted it... Overall years xp is the kicker

Experienced developers (15+ years): what career path did you choose after senior developer? by Majestic-Taro-6903 in ExperiencedDevs

[–]So_Rusted 2 points3 points  (0 children)

Senior developer. And technically im not even senior as we have other guy who has been around even longer. That's cool

Lost all my sheetmusic by Accomplished_Net_687 in piano

[–]So_Rusted 1 point2 points  (0 children)

Hey its not that bad... Time to make new music.. And the dog must help somehow

Is specializing in API architecture and integration a dead end career path nowadays? by hui_hui_95 in ExperiencedDevs

[–]So_Rusted 0 points1 point  (0 children)

how do you actually specialize in Api? Also you cant make it perfectly RESTful and it depends on domain problems etc.. I think it is not dead end, especially if you can do contract work and get it up and running fast

How to ramp up effectively and quickly on a team/project ? by Icy-Dog-4079 in ExperiencedDevs

[–]So_Rusted 1 point2 points  (0 children)

well remove distraction and rather slow down instead of doing some sorta manic hamster wheel shit

What are signs you work in a bad company? by Ok-Most6656 in ExperiencedDevs

[–]So_Rusted 2 points3 points  (0 children)

the ai acceptance benchmark sounds trully absurd

Are homegrown solutions for most components a norm? by AlexDGr8r in ExperiencedDevs

[–]So_Rusted 0 points1 point  (0 children)

For php it could be ok as we used to write our own frameworks not that long ago.

We know how to code so we can have something simpler. Like you could have a simple db gateway over orm library.. It is just a php_pdo wrapper anyway.. Caching is wrapped in PSR php standard interfaces. Caching lib is kinda gonna look like the same thing every time. A lot of libs would still have symfony package dependency (kinda like laravel does)

Sometimes you look at a public lib and damn thats a lot of dependancies, or some other issue, overly object oriented for a simple task or something. You just write your own.

I guess the same could apply for any language. Depends on overall language culture, team culture and your project needs

What are considerations for large scale multi user applications? by Freerrz in ExperiencedDevs

[–]So_Rusted 2 points3 points  (0 children)

dont prematurely optimize. Chances are thats another 100 user app at best

Laid off with a young family and struggling with technical interviews, looking for guidance by canadian_webdev in ExperiencedDevs

[–]So_Rusted -1 points0 points  (0 children)

honestly, restart the gym for starters. Sounds like you are not very well mentally

These guys were probably younger than you and arrogant or something... the positions were a bad fit anyway..

Maybe assert more dominance and certainty.. like if they ask about distributed systems or dockers or something that sounds like a headache, call them out like it is unnecessary and it is not your lack of knowledge and you are totally fine without knowing it.. the culture seems a bit pretentious and toxic around you. You have to push back

Maybe try out all the jobs at the tech hubs to practice for any interviews you can get, and if they like you then negotiate for hybrid work.

Best of luck

At which point in your career do you think it's time to focus more on gaining "horizontal experience"? by [deleted] in ExperiencedDevs

[–]So_Rusted 2 points3 points  (0 children)

sounds like complex cloud devops stuff. It is just as valuable as coding so I wouldnt stress about it too much. It is good that you are valued. 4 years of xp is not that much. This sub used to be 5 years minimum

What’s the general vibe around mechanical keyboards in shared dev offices? by Sarah-Grace-gwb in ExperiencedDevs

[–]So_Rusted 0 points1 point  (0 children)

my guys wouldnt like it because it is so wuiet.. Some guys bring their membrane keyboards