This project is read-only.

Interfaces should start with the letter "I"


There are number of interfaces such as Vector2d that confused me quite a bit. I thought it was a class but then later realized it was an interface when I actually navigated to the defintion. It would be much more clear if it was called IVector2d.


rb126 wrote Feb 27, 2013 at 12:24 PM

Ugh, no thanks! 8-)

Half of the file would have I in front of it if this happened. With Typescript's optional members and emphasis on lots of different uses for interfaces you'd find heaps of things could end up as interfaces in a typical project. I'm not sure having all of them beginning with 'I' would help.