Immutable (Rosetta code and learning D)

Andy Valencia dont at spam.me
Sat Jan 4 22:42:47 UTC 2025


On Saturday, 27 March 2021 at 20:44:12 UTC, Brad wrote:
> I was looking through lots of sample code on Rosetta Code.  D 
> has a lot of solutions out there.

I'm following up to this older post, and I'm sure this is old 
news to many...

I recently realized that Rosetta Code is a very nice resource for 
newbies who wonder "how do I do X", especially when they know how 
to do it in another (usually well-known) language.  For most 
common data structure chores, it's trivial to find the code from 
one language, then scroll over to D and get its counterpart.

String matching, for instance:

https://rosettacode.org/wiki/String_matching#D

I hope this helps at least one fellow newbie.

Andy



More information about the Digitalmars-d-learn mailing list