Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Code is not a text string

Name: Anonymous 2014-04-26 7:33

Why does everyone think that source code can be stored in a text string? It's fucking 2014, you morons. The natural data structure for code is a tree, like in XML. Why do I have to put up with someone else's style conventions, superfluous comments, or with shitty generic syntax? If code was stored in XML, the IDE would be able to display it any way I want. One guy likes the {;} shit, another likes FIOC; one guy likes the faggot GNU style guide with a bunch of lines occupied by only one brace, while another likes the manly

void foo(int x) {
return; }


and so on.

So why the fuck is it still a one size fits all paradigm? It's not like a high school student can't write an XML parser these days. The days of Notepad are over. Besides, it's possible to output XML source code as text, as well as parse text code into XML form. So why the fuck is everyone still in the Stone Age? Either I am a genius, or everyone in the programming industry is an idiot.

Name: Anonymous 2014-04-26 9:24

>>3
Sexpr is a degenerate form of XML.

>>4
My arguments are brilliantly clear and you don't even have any.

and some guys like putting the xml ending tags in the same line while others want to puts them in other line

The IDE won't show you the XML, you idiot, it will show a customizable view into the code with the style and even syntax that you personally like. And it will be totally shareable with the others on your team, even if they have different preferences.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List