Discussion

Ask HN: Beyond Hello World in multiple languages?

I work in a lot of different languages on a regular basis, and it can be hard to keep track of some of the syntax between Python, MATLAB, Swift, JS, R, C++, ...

Does anyone have a good resource for "Hello World" type examples in multiple languages that go a little beyond `print("hello world");`?

I would be happy to start with code that at least includes a function definition and a for loop, but my eventual goal would be to fill about 1 page of code in each language with the most common actions.

Does something like this exist? I don't want to recreate it if someone can point me to a good existing project.

Thanks!

1 points chrisBob 5 years ago 6 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton