blackbarn@lemm.eetoProgramming@programming.dev•15 Recommendations to Make You a Better Programmer
8·
1 year agoWasn’t for me. However here are some key moments:
Follow the principles of object-oriented programming like inheritance, encapsulation, and polymorphism.
Don't overuse inheritance - the relationship between classes should make logical sense.
Keep methods short - if a method exceeds 50 lines, look for ways to abstract functionality out.
Consider existing open-source solutions before writing your own code from scratch. Leveraging others' work saves time.
Avoid hacking together quick fixes - take time to implement proper, maintainable solutions.
Plan for reusability - code with the goal of making parts reusable by yourself and others.
Prioritize readability - write code that's easy for others to understand.
Modularize your code into logical, independent pieces.
Test early and often to catch bugs quickly.
Refactor regularly to improve design as your understanding evolves.
Pretty neat, though the first thing I noticed on a public instance was that it has no mobile formatting/layout, kinda a deal breaker for me at the moment. However I applaud the effort already done!