News for hackers. Stuff that matters.
Re:HTML is object code by daleharvey on Saturday August 01, 2009 @08:44PM (#736901)
worth saying that my argument has nothing to do with css vs tables, but I dont agree with this at all, it may be object code to you, but it is always source code to the client, the browser that has to render it, the screenscraper that wants to pull data from it, the client side scripts that want to modify it.

another disagreement I have with it is that even though it may be generated by whatever fancy backend you want, it is still source code to you, there are very few(no?) powerful html generation libraries that let you generate html as an intermediary format, before writing the "html compiler" you need to understand the html you are compiling.

asm is usually referred to as object code because there are very few people comprehend assembly language at the moment, there was a time when asm (or the binary code itself) could be referred to as source code, but those are long past for most people, web toolkits havent matured that far, you can write perfectly great assembly code without knowing any of it though c, you cannot write a program that generates nice web pages without knowing html and css (right now)

Re:HTML is object code by wvenable on Saturday August 01, 2009 @10:12PM (#736968)
but it is always source code to the client

Source code is what people read/write, object code is what software & hardware reads/writes. HTML is always object code to the client.

HTML and CSS are still source code to most people -- most web sites are designed by designers who hand you off perfect static renderings before you tear them apart and plug them into whatever template engine you're using. But look at something like http://www.extjs.com -- the HTML is complete object code generated entirely using Javascript.

Re:HTML is object code by daleharvey on Saturday August 01, 2009 @10:21PM (#736982)
2 of those 3 'clients' were people (screen scrapers and client scripts). In order for either of these to exist the data needs to be in a code that can be read by people.
Re:HTML is object code by wvenable on Saturday August 01, 2009 @11:44PM (#737045)
So, your point is that programs can't process data if it isn't human readable?