RobinMeow / CommunityCookbook

CommunityCookbook
MIT License
0 stars 0 forks source link

replace dots with underscores in filenames #125

Closed RobinMeow closed 6 months ago

RobinMeow commented 6 months ago

long ago I learned some about best practises of naming files. => Which were very clear about not using dots in files, and I also have some experience which problems with dots inf iles, due to wierd string manipulations to find the correct file extension. (Was writing a file extension display + highlighter in Unity)

Due to angular it became normal for me to use .component.ts so I thoguth there is no harm in using .patternname.ts instead.

But looking into the angular code itself https://github.com/angular/angular/blob/main/packages/core/test/signals/signal_spec.ts and seeing it again here from another company https://youtu.be/5XQOK0v_YRE?t=490 that they use underscores instead. I want to swap.

RobinMeow commented 6 months ago

image they seem to be using underscores in general over camelCase or PascalCase, so I want to adapt to that, as I like it way more and use it in back end as well in some instances.