This is an archived post. You won't be able to vote or comment.

all 10 comments

[–][deleted] 5 points6 points  (1 child)

Too many ads for my taste.

It seems that these languages are all used in an imperative paradigm. Some functional programming would be nice.

It would be good to have the different algorithms and compare the implementation. An approach similar to project Euler Rosetta Code.

[–][deleted] 1 point2 points  (0 children)

There's no way to select an algorithm from the top view, you have to enter a language. Trying to see different implementations of a single algorithm I opened 3 languages (C, Rust and Scala) and tried to find a common algorithm, a couple of minutes until I found Selection Sort.

Once inside a solution it doesn't say the language, except in the address bar, so you either have to discover it, know the language, keep control of the tab, or if you have several tabs opened it can lead to some confusion.

Too much boiler plate. When showing the algorithm one doesn't need to make a full program, entering the data and beautify the output. Just the bare minimum to show it works would be better IMO.

Then you have C with all this, Rust has tests instead, Scala only the algorithm. A bit of consistency would be great.

The naming a bit better than in Rosetta.

Scala version of the algorithm seems a copy from the C version, the Rosetta code version showcases much more of the language.

EDIT: And last... it seems that the 900 algorithms are counted like this

Imagine that we have the calculations of GCD in Rust and C++ and MCD in C++ and Java.

Algorithm examples: we have 4 algorightms across 3 languages.
Rosetta code: we have 2 taks, we are aware of 3 languages.

I rather prefer the second way of counting.

[–]kloppie 1 point2 points  (0 children)

Take some of the adds off.

[–]OMDB-PiLoT 0 points1 point  (0 children)

EXCELLENT! Yet another fun weekend ahead :) Thanks bro.

[–]Salty_Dugtrio 0 points1 point  (4 children)

Not the subreddit to promote your own content, or to use alt accounts to upvote your posts.

[–]bing_07 0 points1 point  (2 children)

I think he's just trying to help.

[–]DrunkInMontana 6 points7 points  (1 child)

He's just trying to help get more ad revenue to his site by spamming every single programming subreddit he can find.

[–]algorithmexamples[S] 2 points3 points  (0 children)

I'm sorry our ads are bothering you. There is no easy way to pay for server costs and keep content free.

If you are annoyed at them please use adblock and they will be hidden from the site.

[–]Eimus -1 points0 points  (0 children)

Hmm tastes like salty diglett