I have been a dev for about 5 years now. The first project I worked on was a mess in the code plus it had numerous workflow rules and process builders and what not. There was no way we could refactor that but we did start hitting cpu time limits.
The second org is more interesting. It is a major insurance company that wanted to move to salesforce. When I got in the org was fairly new but I could already see the horrors.
Still using Page Layouts instead of Flexi Pages, Jumbled up flows and what not.
They hadn’t started Apex much so I got to reign over a little bit. What I Immediately did was create a test data factory and a trigger handler.
However I was still a junior and the whole org was messed up in the two years that happened before it was released. I painstakingly sat and cleaned everyone’s flows to be manageable.
People still wrote shit apex code duplicate code queries inside methods which weren’t bulk safe and what not.
I also wrote some shit code not going to deny but it would still look way better than the other code because it wasn’t even formatted an absolute nightmare for anyone to read.
Anyway today I am literally lost at the complete lack of knowledge the senior devs and other folks have.
There is closer to 1% of the people who even know that sf cli is open source. Let alone know any commands on it because the extension does it but the extension cannot do everything like run tests in sync call.
Then comes the major blocker not knowing git beyond basics of VCS and committing there is no idea at all of git hygiene how to use a feature branch,branching strategy what works or what doesn’t.
Anyway after all this fiasco I realised it’s better to work in an org which actually has devs who are passionate and even if we both argue on whether to use RandomNumberGenratorFactory or to use the random number generator,it’s far better than working with morons who pretend to know something but have absolutely no clue.
Is there a way to even find this out ? I would love to work in orgs managed by really good architects and developers and learn a lot more than try to be the guy who brings change. Even if I had 5 more years under the belt I doubt I would still get to clean the org.
I seriously still see people messing up the formatting of the code and being unbothered about it.