News for hackers. Stuff that matters.
Re:Angular 2 Style Guide by teen on Thursday May 05, 2016 @05:48PM (#11639898)
In the first suggestion they suggest breaking up a component into its own folder. That quickly becomes a completely mess imo. Better to prefix the filename with the component (hero.service.js) and leave everything in the same directory.
Re:Angular 2 Style Guide by EugeneOZ on Thursday May 05, 2016 @06:14PM (#11640069)
If each component have 3 files, how can 10 folders (with 3 files inside) be a more mess than list of 30 files with prefixes?