Here's a question that doesn't have a clear-cut answer. I understand that coding styles vary greatly, especially among different languages - for example, camel case function names in JavaScript vs pascal casing methods in C#. I can definitely accept that.
Although it might be overthinking things, I'm delving into TypeScript and really liking what I see. I plan to use it with Angular2 and want to establish a solid style guide.
One thing that's puzzling me is point 2 here, which advises against using the "I" prefix for interfaces. Up until now, I thought this was almost a universal practice. I have a class called Car, so naturally, the interface name would be ICar. But now I'm conflicted about whether or not to follow this convention.
I'm open to following suggested practices, but this particular one has me unsure which direction to take.
Does anyone know why the common convention of using an "I" prefix for interfaces is discouraged in TypeScript? I understand that you can use any conventions you prefer, but I'm curious if there's a specific reason for deviating from this widely-adopted practice.
Any insights or opinions on this matter will be greatly appreciated!