Code comparison · 22 programs × 5 languages

Same program, five languages

Every program below is written in INK, Python, PHP, C# (.NET) and Node.js, side by side. Compare how each one looks, how many lines it takes, and what it prints. Turn languages on or off to compare just two.

Show:

Want the full picture?

See speed, jobs in India, ease of learning, and the strengths and weaknesses of each language.