Skip to content

Comment on Ruby vs. JavaScript as a first programming language

Comments

My opinion might be unpopular but I think neither are good as first languages.

The reason is that both languages mix many programming paradigms.

I think it is better to introduce programming paradigms one at a time. Once you understand the paradigms, you can move from language to language effortlessly.

When I introduce people to programming, I start without code. I start using cooking recipes as an example. The ingredients are the input, and the recipe is a function that produces an output.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.