Camen Design Forum

Delete

(Leave this as-is, it’s a trap!)

To delete this post you must be either the original author or a designated moderator.
The content of the post will be removed but the name and date will remain.

  • The post will be removed completely from the thread, rather than blanked
  • Only posts on the last page of the thread can be removed completely (so as to not break permalinks)

RE: HTML was designed to last. JavaScript wasn’t. Rebuttal.

Kroc

"You're comparing apples to oranges."

Exactly, that’s the point!

They are not the same thing. Yet, many developers do see them as similar. They are two different program models entirely as you’ve pointed out, and the problem is when people use JavaScript to make HTML that doesn’t work with JavaScript, they are locking people out of data for no good reason.

HTML stores the information. JavaScript is a programming language that evolves, changes and breaks old code (ES5). One day we may be scripting web sites in a language other than JavaScipt. Ruby, or Python. The scripting layer is supposed to be swappable (that was the design of the DOM). So if people lock data into the requirement of JavaScript, they are shooting themselves in the feet.

Your friendly neighbourhood moderators: Kroc, Impressed, Martijn