Learning To Code By Writing Code Poems would ve been even more Poetin if it would ve been in Ruby
The returnig example is:
if (me.getDistanceTo(you.position) < 200) {
me.setFeelings({
inLove: true,
});
}
In ruby:
My.feelings.merge(inLove: true) if my.distance_to you < 200
Anyway, I think it is a nice alternative approach to learning programming.
See also: If Hemingway wrote JavaScript