Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 4th, 2006, 2:48 PM   #1
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,869
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
HTML =/= Programming

For the longest time I was under the impression that html was not programming at all. HTML is just a series of tags to output a static display. I've noticed many others around this forum seem to think the same thing.

But after actually creating a website, I've noticed that there are indeed a lot of similiarities and have now changed my opinion on HTML. HTML is a lot like programming in the sense where you have an idea formed in your head and you must reach that formidable conclusion. This conclusion can be reached several different ways, and each have their drawbacks in either speed or compatibility. To reach the end result you will also usually need to problem solve in your head, how best to go about the several different methods.

It won't apply the same to using HTML in dream weaver or front page, but in notepad I definitely say html contains the essence of programming.

What is you opinion/argument?
Sane is offline   Reply With Quote
Old Mar 4th, 2006, 3:27 PM   #2
Navid
Hobbyist Programmer
 
Navid's Avatar
 
Join Date: Feb 2005
Location: Canada
Posts: 187
Rep Power: 4 Navid is on a distinguished road
Send a message via MSN to Navid
Programming consists of algorithms with applied logic. Creativity is another factor that also applies with HTML. But I'd say HTML can be easily distinguished as a non-programming language, even though the computer still has to calculate your given attributes. So I guess HTML can be considered partially as programming language.
Navid is offline   Reply With Quote
Old Mar 4th, 2006, 4:02 PM   #3
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
The production of HTML code is not programming, any more than is red-lining text for a printer to work with. Creativity has nothing to do with it. A quite creative person might do an oil portrait -- it's not programming.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Mar 4th, 2006, 4:05 PM   #4
King
Professional Programmer
 
King's Avatar
 
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 376
Rep Power: 0 King is an unknown quantity at this point
I would consider it programming when you use it with Java Scritp... but not so much by itself
__________________
I am Addicted to Linux!
King is offline   Reply With Quote
Old Mar 4th, 2006, 4:13 PM   #5
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Javascript is a programming language. Using HTML in the same room doesn't make it a programming language. My grandson 'paints' on my computer. It doesn't make him a programmer. If you can even conceive of HTML being a programming language, instead of a markup language, you're waaaaaayyyyyyyyyyy short of understanding "programming".
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Mar 4th, 2006, 4:25 PM   #6
King
Professional Programmer
 
King's Avatar
 
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 376
Rep Power: 0 King is an unknown quantity at this point
I didn't mean HTML was a programming, I was just saying JS and HTML usually go hand and hand... I worded that wong. HTML is just a way to put things on the screen in a web browser, you can use JS to add some logic to it.
__________________
I am Addicted to Linux!
King is offline   Reply With Quote
Old Mar 4th, 2006, 4:31 PM   #7
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,869
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
DaWei, if that was directed at me, I wouldn't go as far as saying I'm "waaaaaayyyyyyyyyyy" short of understanding programming. :/
Sane is offline   Reply With Quote
Old Mar 4th, 2006, 4:49 PM   #8
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
It was directed at anyone who interprets the generation of HTML as "programming."
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Mar 5th, 2006, 9:20 AM   #9
Darkhack
Hobbyist Programmer
 
Darkhack's Avatar
 
Join Date: Dec 2005
Location: Kansas City
Posts: 105
Rep Power: 3 Darkhack is on a distinguished road
Send a message via AIM to Darkhack
I have to agree with DaWei. That is not to say that HTML isn't a skill or something that doesn't require effort. HTML is very difficult when you start designing complex pages. Getting a page to look just perfect and then to have it look that same way under multiple browsers is very difficult. My opinion is that the reason people want to attach the term "programming" to HTML is because they believe HTML is underrated in its difficulty and that applying the word programming would make it seem more complex. It's just a word and won't make a difference. If people diddle around with Hello World in HTML and think its easy then let them. We all know it can be very complex in the real world. Just because it isn't programming doesn't mean it isn't a worthy talent.

HTML is and always will be a markup language. I'm not going to get into the little gritty details, but think of it this way. A programming language can do math, store variables, move/change data, and a number of other things that HTML simply cannot do. Javascript is a programming language (scripting technically, but lets not go into that either) because it can do all of those things. A programming language's output can be dynamic. HTML is always static unless I combine it with something like Javascript/VBscript/PHP/ASP/JSP. Do keep in mind this is all coming from a guy who does this kind of stuff everyday. In fact, I have Dreamweaver open right now. You'll notice I have PHP listed under my profile but not x/html.

Also to DaWei. He isn't nessisarily "waaaaaayyyyyyyyyyy" short of programming knowledge. I thought the idea behind his reasoning was quite interesting in a way. I once read a similar thread on Google Groups where a user talked about programs having only finite possibilities. He mentioned a calculator for example would have a user click a hyperlink on the numbers and operations signs and it would direct you to a different page where the output is displayed. Granted it would require a near infinite number of HTML pages to work since it did not rely on any other scripting. Still an interesting topic though.
Darkhack is offline   Reply With Quote
Old Mar 5th, 2006, 9:36 AM   #10
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Your response is very cogent, Darkhack. No where did I intimate that HTML didn't require skill. Web page design is very difficult. Nowhere did I say anyone lacked "programming knowledge." Here is a dead quote:
Quote:
If you can even conceive of HTML being a programming language, instead of a markup language, you're waaaaaayyyyyyyyyyy short of understanding "programming".
I stand by that. Everyone is entitled to their own opinion, of course. There are those who maintain that the earth is flat and the moon is green cheese. In many countries, they are entitled to do so.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:05 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC