3 ms·
The number one thing you can do to write better code is get together a group of people and do code reviews on each other's code constantly. Have people in the
by CuriouslyC 10y ago
The number one thing you can do to write better code is get together a group of people and do code reviews on each other's code constantly. Have people in the group point out things they like and dislike about the code, along with why. Then create a "cheat sheet" where you try to summarize the principles behind all the suggestions people make for your code.
Beyond that, try to find "good" code look at how it is structured. Then try to emulate the practices in regards to language feature use, layout, etc.
- kzisme 10y agoWork it work best in a work setting or a friends settings?
- CuriouslyC 10y agoIt can work anywhere. If your work isn't doing peer code review, they should be - I read somewhere that code reviews are the single biggest driver of high quality software. It is also easy to start up a code review session at hackathons.