I don't have an SWE background (majored in Mechanical Engineering) but I made a transition into SWE a few years back. I have to admit that my code is not that efficient and many things could be done better and simpler. Do you think doing Leetcode would help to become better at writing code? I am not trying to switch jobs at the moment
It would help you but is not the most efficient way to learn if you want to commit time to it
Great tool for improving writing a clean âcodeâ in a method level. Not good for learning clean architecture or structured code. BUT it comes with interview skill set improvement. So I would recommend it.
Read books like âEffective Javaâ. Also, first try to figure out what âgoodâ code should be like with very specific criteria. Then after you write work code, reflect upon it and see if it meets all the criteria. If not, modify the code. Rinse and repeat.
Yes it will help with writing efficient code by understanding complexity analysis, but it will not help with how to structure code properly.
Absolutely recommended to improve fundamentals. Then can also start reading about design patterns and more
Nope, leetcode doesn't help with day to day coding. If day to day coding was anything like leetcode, good engineers wouldn't need to spend days practicing for an interview. Interviews used to consist of brain teasers, now they've replaced pure word based brain teasers with code based brain teasers.
India
12h
553
'Hindutva': The Radical Hindu Ideology That Seeks to 'Push Christianity Out of Indiaâ
Tech Industry
2d
15230
RIP Google Core Employees replaced with Mexico and India Workers
World Conflicts
11h
452
Israeli precision-guided munition likely killed group of children playing foosball in Gaza, weapons experts say
AMA
Yesterday
1255
PM Manager, early 40s, married and ENM (Ethical Non Monogamous) AMA
World Conflicts
9h
346
Why I Find Free Palestine Inspiring
I think reading great code from great people in the org or popular git repos is going to be a lot more beneficial.