re: How to Write a Good Piece of Code VIEW POST

FULL DISCUSSION
 
  • Make sure your algorithm is clear, clean, simple to understand.

  • Make sure your code style/patterns is clear, clean, simple to understand.

  • Make sure your API is clean, simple, easy to understand.

Always separate API and implementation, so that you can change the implementation without affecting call sites.

code of conduct - report abuse