Hacker News new | ask | show | jobs
by pmontra 1533 days ago
You follow convention because the other developers have to read and work with your code. You also follow the formatting conventions of the language and of the project.

As a polyglot developer it feels a little weird but it can't be helped. The mix of camel cased and snaked cases languages in the same project or in the same file is inevitable sometimes. Think a JS script tag and Ruby <% %> inline code in an html.erb file.