📜 ⬆️ ⬇️

Ruby for kids and not only

Ruby positions itself as a “programmer's best friend,” as a great programming language, as a great scripting language, as a great tool for developing web applications. Everyone knows that Ruby is a very nice language with a very active and friendly community. However, not everyone knows that this community is so friendly that it took care not only of colleagues - programmers developing many useful gems, but also of developing children for them some very interesting and useful tools.

If you are a programmer and you have a child whom you wish to convey your interest in programming, then this small article is a review for you.


1. Ruby for Kids
Ruby for Kids is a learning resource and, if I may say so, a framework for developing the simplest computer games in Ruby. The Ruby for Kids framework includes the Ruby language itself and the Gosu library for developing two-dimensional games in Ruby and C ++. On the site you can see videos demonstrating the games developed by children, a textbook and screencasts examining the development of the game.
')
2. Hackety Hack!
Hackety Hack! - a simple Ruby application development environment implemented on Ruby + Shoes (a framework for developing cross-platform desktop applications). The task of the developers Hackety Hack! It was not the development of a simple environment for developing and executing programs in Ruby, but the development of a toolkit for novice programmers.



3. Kids Ruby
Kids Ruby is another Ruby development and execution environment that positions itself as a replacement for Hackety Hack! .. Kids Ruby has an editor for entering code, a code execution result viewer, a reference book and the ability to draw "turtle graphics" in one working window.


For those who are more mature, there are also several projects that allow you to get acquainted with Ruby and love it without much fuss. The first is the TryRuby project, which is an IRB web emulator (REPL for Ruby) and a simple tutorial. Personally, I once liked the Ruby Koans project, which is an educational environment built on the basis of Test :: Unit. The bottom line is that all tests pass correctly, as a result of your editing the contents of test matchrs. RubyKoans can be downloaded to your machine, but especially for such lazy people as I implemented the web interface, which means you don’t need to install anything, just go to the address below and fill in the fields so that there are no errors in the matchers. Project website: http://rubykoans.com/ , online version: http://koans.heroku.com/ .

For those who have already met Ruby and want to study it in more detail, I can recommend my blog in which I publish various articles about Ruby, Rails and more. There I also published a series of articles for those wishing to start programming in Ruby, a kind of simple textbook.

Source: https://habr.com/ru/post/129962/


All Articles