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.
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)