JohnMurray / cpp-vs

An educational site for learning C++
https://www.cpp-vs.com
Other
10 stars 1 forks source link

Ruby: String Munging #21

Open JohnMurray opened 6 years ago

JohnMurray commented 6 years ago

One of the things that Ruby is really good at doing is sometimes called "string munging." Basically the ability to easily parse various kinds of input into a usable form, do something with it, and possibly output some info. It's a great scripting language.

This is very similar to some of the JS examples in the string processing versus, but with an emphasis on scripting (Ruby's domain). I think this will be particularly welcoming for system administrators who have a background in Ruby that need to learn C++ (or those who have operated in a similar role and maybe are transitioning).

I'm thinking of building a program and parsing the input from the ls command into some internal data-structures might be a good bit of code to showcase the dfiferences and provide lots of good teaching moments.

JohnMurray commented 6 years ago

Removing this from milestone 1 since I think we should focus on Java instead of Ruby for the initial release.