My ideal programming language would let me define a custom css that would lay out code according to my specifications of columns/space/brackets placement etc. and check in only content. Everybody gets their own layouts - and hence we avoid all the long winded discussions about styles. A language that could do refactoring of variable names / function names as per my style requirements would be better. Another one that could translate to local language would be awesome!Is there one such language variant of C/C++? What are the negatives of this?
Why don't programming languages separate out style from content?
programming languages
Those are functions of tools for languages. Many programming environments have refactoring tools. Eclipse has pretty decent ones for Java. Many programming environments also let you define a formatting style (I don't know if it's actually stored as CSS or some other representation). You could then autoformat all of your code as soon as you check it out of source control, and then re-format with a company-standards style on check in.What you're asking for I don't think ever falls in the the language specification. I suppose it could but I've never heard of it. In my experience, this functionality is implemented in tools for a language.