Thread: Anyone purely self-taught?

  1. #31
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    I agree HTML shouldn't probably be considered a programming language. It's a container-based markup language. A programming language in the traditional sense, would force HTML to be able to alter the behavior of the computer. Such is not the case.

    However HTML is no toy as it was suggested either. Markups have become increasingly more complex over the years. HTML and XHTML have high standards and best practices, they do take years to master and force the "programmer" to think logically and to structure their "code".

    They are probably the closest you can get to a programming language without becoming one
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  2. #32
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Quote Originally Posted by dwks View Post
    I would call HTML a "formatting language", not a programming language. To me, a programming language has to involve logic and conditions and that sort of thing.
    I agree, you wouldn't call the Microsoft Word format a programming language.

  3. #33
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by mike_g View Post
    It all depends on how you define a programming language. Languages line HTML, CSS, XML, and SQL don't do loops so often are not counted as programming languages. (On some list that I have seen anyway).
    Prolog doesn't have loops either. In fact, Prolog shares a lot of traits with HTML. It simply specifies "what is," not "what should be done." And I doubt you'll find anyone who claims Prolog is not a programming language.

  4. #34
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    IMO, and probably someone whose name means more than mine, to be a programming language it needs -

    1. flow control
    2. I/O

    HTML doesnt have flow control, it definately has output, but im not sure it really has input, other than the fact that it was loaded and I guess constants.

  5. #35
    Dr Dipshi++ mike_g's Avatar
    Join Date
    Oct 2006
    Location
    On me hyperplane
    Posts
    1,218
    HTML has forms.

    Since most webites nowadays tend to use HTML, CSS, Javascript and PHP (Edit: or the ones I make anyway) I generally look at it on the whole and consider it programming.

  6. #36
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Quote Originally Posted by abachler View Post
    IMO, and probably someone whose name means more than mine, to be a programming language it needs -
    1. flow control
    2. I/O
    With due respect to those people that is crap. A programming language needs to be defined with much more than just that. I'm surprised at how that "urban myth" has survived this long.

    That just removes a bunch of declarative or purely functional programming languages of the list.


    HTML doesnt have flow control, it definately has output, but im not sure it really has input, other than the fact that it was loaded and I guess constants.
    HTML has no output or input. It has no flow of control. Neither does it have constants (as if it mattered). But neither did SQL prior to 99 and it didn't stop anyone from calling it a programming language. You can tell that to "those people " above. And not for one moment think I don't know who wrote it. But as usual, it was misinterpreted.

    The reason behind calling HTML a programming language is mostly a matter of prejudice or praise, in my honest opinion. Nobody can convince me a professional developing a website in pure (X)HTML/CSS can't be called a programmer. But it really matters little to me if he couldn't. I did it for a long time and I was faced with the exact same situation I was faced when using "programming languages"; problem solving.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  7. #37
    Registered User
    Join Date
    Nov 2007
    Location
    Free Country, USA
    Posts
    105
    I taught myself VBA, HTML and VBScript using books, C and C++ initially using books and the Internet and later took a two-week long programming class that had to do with C++ and C last summer.

  8. #38
    I eat babies
    Join Date
    Jan 2008
    Location
    la-la-land
    Posts
    31
    Quote Originally Posted by Mario F. View Post
    I agree HTML shouldn't probably be considered a programming language. It's a container-based markup language. A programming language in the traditional sense, would force HTML to be able to alter the behavior of the computer. Such is not the case.

    However HTML is no toy as it was suggested either. Markups have become increasingly more complex over the years. HTML and XHTML have high standards and best practices, they do take years to master and force the "programmer" to think logically and to structure their "code".

    They are probably the closest you can get to a programming language without becoming one
    YEAH, i completely agree
    There are only 10 types of people, those who understand binary and those who don't
    C++ Beginner
    Visual C++ 2008 Express Edition!
    Windows XP
    http://img369.imageshack.us/img369/4372/1399mf9.jpg

  9. #39
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    It would be rather funny if HTML turned out to be Turing complete. That would convince the naysayers, I suppose, but I couldn't care less either way. I don't think HTML would ever achieve that feat on its' own two legs.

  10. #40
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by abachler View Post
    IMO, and probably someone whose name means more than mine, to be a programming language it needs -

    1. flow control
    2. I/O
    Your exposure to computer science is woefully incomplete if you believe that "flow control" has anything to do with programming.

    Some of the most powerful languages around -- Scheme, for instance -- don't have loops, they don't have if-else statements, they don't have assignment statements, they don't even have variables, and yet people skilled in these languages will absolutely code circles around you.

  11. #41
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    I'm another mostly "self-taught," though to be fair the boards here taught me a lot of what I know. I started learning during high school, I guess, and now I've taken one programming course at my university that taught me almost nothing, and a few physics courses that used some type of programming. I can tell you that programming is definitely useful if you want to major in physics (or probably any scientific field, for that matter)
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

  12. #42
    Internet Superhero
    Join Date
    Sep 2006
    Location
    Denmark
    Posts
    964
    Quote Originally Posted by Mario F. View Post
    However HTML is no toy as it was suggested either. Markups have become increasingly more complex over the years. HTML and XHTML have high standards and best practices, they do take years to master and force the "programmer" to think logically and to structure their "code".
    Well, if you're looking into making completely valid XHTML and CSS, then yes, that'll take some time. I was simply saying, learning the concepts of HTML takes no time, someone who has never tried HTML before can have a finished (although simple) webpage in a matter of minutes.
    How I need a drink, alcoholic in nature, after the heavy lectures involving quantum mechanics.

  13. #43
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    I think the best definition for "programming language" is "a language that can be used to solve computational problems". This includes all the declarative languages like Scheme, Haskell, Prolog, XSLT, etc. and excludes markup languages like HTML.
    An equivalent definition is "a notation for writing programs".

    Good HTML/CSS is quite complex, but that doesn't make it programming.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  14. #44
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    I think the best definition for "programming language" is "a language that can be used to solve computational problems".
    That may still be rather loose though. For example, we can describe algorithms in English, but generally English is not thought of as a programming language. Perhaps we could include the idea of "intent", but I am not sure if XSLT would qualify in that case, despite being Turing complete.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  15. #45
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    We can describe the algorithms in English, but there currently is no computer that will successfully execute them, so the problem cannot actually be solved.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Simple Snake Program Purely On "C"
    By jumbo2410 in forum C Programming
    Replies: 7
    Last Post: 07-30-2008, 07:16 AM
  2. Will the upcoming C++ standard change how Programming languages are taught
    By indigo0086 in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 01-14-2008, 01:07 PM
  3. How are you learning programming?
    By incognito in forum A Brief History of Cprogramming.com
    Replies: 63
    Last Post: 02-13-2002, 05:13 PM