Hacker News new | past | comments | ask | show | jobs | submit login

Except...it isn't coding, it's markup.

Not trying to be pedantic. There is a huge difference between the two.




Certainly true, and when I teach I try and make sure the distinction is respected. However as time goes in, it's worthwhile to highlight the ways markup is slowly becoming like coding. Semantic markup acts a lot like an instruction for the crawlers reading pages. CSS and its robust pre-processor eco-system now allow variables, mixins and includes which make it a great introduction to programming concepts for those totally new.


If One can't write bubble sort, a genetic solver or iterate through data (array, list, dictionary, whatever) while making decisions I think it is safe to say it is not coding.

If you can't go through a CS curriculum with it then it isn't coding? Maybe that's the distinction.

Yet I do see your point and there's probably nothing horrible about using it in your title. "Learn HTML and CSS Markup" may have been a better title, possibly even from an SEO perspective.

Again, not trying to be pedantic. Not a big deal. No data structures were harmed in the making of this title.

BTW, that aside, this nicely done. I am going to have my son go through it.


If you want to explain how markup is different from a general purpose language, you can always refer to the fact that markup isn't turing complete, and can't be used to perform arbitrary loops and arithmetic.

But that would also make things like basic SQL 'not coding', and any program you wrote where you didn't use an arbitrarily long loop.

That makes "print('Hello world')" not coding, and then it becomes clear that you're drawing an arbitrary line in the sand. "If you aren't writing compilers, you're not coding" or some such nonsense.

HTML and CSS are languages for encoding the semantics of webpage formatting and content. They are domain specific languages. They are not turing complete. But they are coding.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: