Live data from Hacker News

Five languages in seven lines, or how not to do web development

docs.google.com

21–23 of 23 posts

Re: Five languages in seven lines, or how not to do web development

#21
post #18
post #13

Earlier quoted context omitted.

Sure, but the point is, to put together any decent web page template, you'll need at least: 1) Your server-side language (e.g. Ruby) 2) Your templating language (e.g. ERB, which may be very similar to 1) 3) HTML 4) CSS 5) Javascript 5 languages is pretty much a minimum unless you're doing something trivial. I'll agree that the onclick should be extracted, but as has been pointed out in other places, this is a quick d…

The number of languages isn't the issue. The issue is putting them all together in the space of a few lines. It's bad organization.

Actually just curious - but what is a means of separating them?

Re: Five languages in seven lines, or how not to do web development

#23
The point as I see it, normally one thinks of programming in "a" language, not 5-7 at once! Just imagine trying to rewrite this paragraph in multiple foreign languages...let's see, nouns in Japanese, verbs in French, adjectives in Russian, and the remainder in Taglish? Illustrates just how demanding web development is. And consider, not only are there best practices to follow for each real language, the conclusion reveals there must be implicit best practices (or at least opinions) for mixing them as well.
Post reply on HN