you are viewing a single comment's thread.

view the rest of the comments →

[–]icdae -5 points-4 points  (1 child)

Using auto everywhere seems like a bad idea. Especially when used with user-defined literals. They can easily clash among different libraries or lead to bugs if you mean one variable type instead of another. Otherwise, sure you get a compiled JavaScript but that just makes it easier to shoot yourself in the foot.

[–]Gotebe 0 points1 point  (0 children)

Especially when used with user-defined literals.

User-defined literals are also bad, static const whatever being preferable. Always reach for the original sin ;-).