News for hackers. Stuff that matters.
Re:Codecademy Adds Beginner Languages HTML and CSS by bicknergseng on Monday April 02, 2012 @02:30PM (#3789412)
Anyone else cringe when they referred to HTML and CSS as programming languages?

Other than that, great to see a potential replacement for W3Schools.

Re:Codecademy Adds Beginner Languages HTML and CSS by evincarofautumn on Monday April 02, 2012 @03:03PM (#3789560)
Nah, not really. You can consider the term “programming language” to refer only to those languages capable of computation, but then you’d have to include LaTeX and CSS3, because they’re both Turing-complete. Where do you draw the line?

Probably the most reasonable way to cut it up is to treat programming, markup, and styling languages as subsets of computer languages. They all overlap to varying degrees, and Turing-completeness is entirely separate—Magic: The Gathering is Turing-complete, and nobody is calling that a computer language of any kind.

Re:Codecademy Adds Beginner Languages HTML and CSS by Dn_Ab on Monday April 02, 2012 @03:59PM (#3789782)
I guess it depends on what type of person you are, what type of rules you use to distinguish things. So I am always looking for isomorphisms and equivalence relations. So to me if you are Turing complete then I can define an equivalence between you and a programming language. So Html5+css3 goes in. You can encode turing complete computations into Magic the Gathering? Then yes MTG + Appropriate Encoding can be talked about in the same sentence as programming language.

Whether or not these languages can also be found in the Turing tarpit is a separate thing.

Re:Codecademy Adds Beginner Languages HTML and CSS by sirclueless on Monday April 02, 2012 @06:52PM (#3790510)
The point isn't that your rules are a bad way of defining computation. The point is that your rules are basically irrelevant as far as deciding what an acceptable language for an online course would be.

Markup languages, even ones that are utterly incapable of encoding even a trivial computation, are way more relevant to computer literacy than Magic: The Gathering. I can guarantee you a beginner will learn more if I teach them how a computer interprets Markdown or HTML than if I teach them how any general computation can be embedded in a card game.

Re:Codecademy Adds Beginner Languages HTML and CSS by Dn_Ab on Tuesday April 03, 2012 @12:10PM (#3793492)
This reply may never be read... but I was responding to the question "Where do you draw the line?"

So I pointed to where my line was drawn. The given thought was completely independent of what is appropriate for teaching.

Re:Codecademy Adds Beginner Languages HTML and CSS by evincarofautumn on Tuesday April 03, 2012 @08:38PM (#3795584)
I for one am with you. We were only talking about reasonable ways to divvy up the different categories of language, which is only tangentially related to the article.
Re:Codecademy Adds Beginner Languages HTML and CSS by Davertron on Monday April 02, 2012 @04:58PM (#3790052)
A little, but I cringed more at this:

"New programmers typically learn how to use them before any other programming languages..."

Re:Codecademy Adds Beginner Languages HTML and CSS by zanny on Monday April 02, 2012 @08:13PM (#3790823)
I'm just graduating with my BS, and I just know general tag usage in html like <img> <video> etc and absolutely no CSS, because I have never made a website or tried to.

My only attempts at javascript were demoing webgl and then I wanted to throw my screen at the wall.

So something like this is nice - I should know how to make web sites, if only to say I know how. Its a good skill.

Re:Codecademy Adds Beginner Languages HTML and CSS by Davertron on Monday April 02, 2012 @09:52PM (#3791093)
I completely agree. If I were getting started now, I would probably start learning JavaScript as my first programming language. Along with that I would want to learn HTML and CSS, but to say that most new programmers get started using HTML and CSS as their first languages seems a stretch to me.
Re:Codecademy Adds Beginner Languages HTML and CSS by freehunter on Monday April 02, 2012 @09:13PM (#3791000)
All anecdotes aside (I started in HTML and VB, gotta say the VB was more useful to me as someone who didn't go on to be a professional programmer), maybe there's some poll they took to see where people started. Maybe there needs to be. I could see a case where people typically start with a easy-to-grok language like HTML. For one, it's quick to see progress in HTML proficiency.
Re:Codecademy Adds Beginner Languages HTML and CSS by mattray0295 on Monday April 02, 2012 @06:15PM (#3790360)
Well someone should let codeacademy know that HTML/CSS aren't programming languages!
Re:Codecademy Adds Beginner Languages HTML and CSS by sirclueless on Monday April 02, 2012 @06:55PM (#3790527)
That's absurd. They are a set of rules that dictate how a browser lays out media. That's a programming language to everyone but a computer science purist. The question of whether I can use these layout rules to find the 2,000th digit of pi is totally irrelevant.
Re:Codecademy Adds Beginner Languages HTML and CSS by puppybeard on Tuesday April 03, 2012 @06:36AM (#3792313)
I regard them as instructions to be processed by something which can actually evaluate those instructions, like a browser. Writing css and html is no more programming than writing a word doc is. The resulting file has information and layout but it's totally static.

I wouldn't call them a language, and they're the main part of my job.

Re:Codecademy Adds Beginner Languages HTML and CSS by puppybeard on Tuesday April 03, 2012 @04:32AM (#3792079)
Mozilla Developer Network already is the replacement for W3Schools. Even for experts, it's a great reference.

https://developer.mozilla.org/

You'd have to be very green to find w3schools to be any use, and even still, it would you bad advice too often.

Speaking as someone who develops html and css professionally (among other things), no they aren't programming languages. To call them as such would suggest some sort of logic, which unfortunately isn't present.

It takes maybe two years using them professionally most of your working days to become an expert. Everything after that is monotonous, repetetive drudgery.

Html5 is a disorganised mess and the wonderful css3 is vendor-prefix hell. I know a lot more of both of these languages than a sane person would want to, and I need a new job. The DOM is a handicap. The front-end of the web is broken.

Re:Codecademy Adds Beginner Languages HTML and CSS by scelerat on Monday April 02, 2012 @04:41PM (#3789959)
I cringed when they called them "beginner" languages.
Re:Codecademy Adds Beginner Languages HTML and CSS by freehunter on Monday April 02, 2012 @09:10PM (#3790992)
Well, regardless of how useful they are in production or how many livelihoods depend on them, they are simple for a beginner to understand the concepts of. They lay the groundwork for more advanced classes that go into web creation such as Javascript and Ruby. Many people versed in HTML go on to learn Javascript next, because that's the next logical step and next increase in complexity.
Re:Codecademy Adds Beginner Languages HTML and CSS by amasad on Tuesday April 03, 2012 @01:29AM (#3791614)
BTW some really smart people proved that HTML5 and CSS3 are in fact turing complete. ;)

http://lambda-the-ultimate.org/node/4222

Re:Codecademy Adds Beginner Languages HTML and CSS by mdanger on Monday April 02, 2012 @02:38PM (#3789463)
When I initially read it, I had assumed that there was a comma missing and they had added "beginner languages, HTML and CSS".
Re:Codecademy Adds Beginner Languages HTML and CSS by godDLL on Monday April 02, 2012 @02:39PM (#3789465)
These are browser tech, aren't they? They can be learned. I think they made an slip somewhere in between there.