6 Tips for Writing Better Code

Amir HameedTechnology Leave a Comment

One of the best ways to keep code consistent, reusable, and organized, is to group functionality together. For example, rather than dumping all your JavaScript into one main.js file, consider grouping it into separate files based on functionality, then concatenating them once you reach your build step. Of course, there’s a lot more to writing modular code, and you can write modular code for more than just JavaScript.

via 6 Tips for Writing Better Code.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.