Articles



The Ruby Object Model by Dave Thomas

The Ruby Object Model by Dave Thomas
Quite interesting and useful talk from Dave Thomas, back from 2009.  Self - if you understand "self", and if you can work out what "self" is, at any point in your...
Show full article

Quite interesting and useful talk from Dave Thomas, back from 2009. 

Self - if you understand "self", and if you can work out what "self" is, at any point in your running code, you basically understand all there is to know about metaprogramming.

If your doing metaprogramming, whenever you get stuck trying to work out "How come thats nil", I guarantee, if you track the value of self, you'll understand it"

  • Instance variables: look up in "self"
  • Methods:  look up in self's class

Youtube link to his speech.

Show preview
Leave a comment




Ruby is Back! All hail Ruby! - programming language rating TIOBE

Ruby is Back! All hail Ruby! - programming language rating TIOBE
Because Ruby is the most convenient programming language, and while people are programming - convenience means a lot! Ruby вернулся в первую десятку рейтинга...
Show full article

Ruby вернулся в первую десятку рейтинга TIOBE, и аналитики считают это хорошим знаком. Язык появился очень давно, но оставался в тени до релиза Ruby on Rails в 2006 году. Фреймворк подкинул его на тридцать позиций вверх до топ-10 и обеспечил звание «Язык 2006 года».

После пика популярности в 2008 году Ruby начал сдавать позиции под натиском новых языков, но теперь постепенно взбирается обратно. По мнению экспертов, подобная динамика свидетельствует о естественном росте популярности.

Because Ruby is the most convenient programming language, and while people are programming - convenience means a lot!

Show preview
Leave a comment




Another modest(but useful) contribution to Open Source, about vulnerability CVE-2017-17405

Another modest(but useful) contribution to Open Source, about vulnerability CVE-2017-17405
Недавно столкнулся с неприятным сюрпризом. Неочень приятно видеть непрошенных гостей из Китая у себя на сервере)) Решил что русскоязычному сообществу следует знать об...
Show full article

Недавно столкнулся с неприятным сюрпризом. Неочень приятно видеть непрошенных гостей из Китая у себя на сервере)) Решил что русскоязычному сообществу следует знать об этой уязвимости и перевёл статью для сообщества.

Ссылка на переведённую мною статью про уязвимость CVE-2017-17405

Show preview
Leave a comment




TDD and why it's so important! Uncle Bob (Robert C. Martin)

TDD and why it's so important! Uncle Bob (Robert C. Martin)
I must confess, i didn't wanted to implement TDD because i was confused (and maybe a little bit lazy) to write the code that "didn't produce anything". But Uncle Bob's...
Show full article

I must confess, i didn't wanted to implement TDD because i was confused (and maybe a little bit lazy) to write the code that "didn't produce anything". But Uncle Bob's philosophy, wich i liked btw, reminded me expression from Carlos Castaneda's book. Here it is :

"Things doesn't change, changes only our view on them."

From this day, i'm starting to implement TDD to my projects. Uncle Bob sad that, implementing TDD in to the already written applications it's "insane, not worth it". But i will do it, let's say - for self-improvement. I'll start with my latest project "Conversation App".

I recommend to all, watch the video below. If you doubt the usefulness of tests and existing arguments don't convince you, Uncle Bob will help you to look at it in another way, so much so that you'll have to search for a reasons to not follow TDD (in advance shall warn you, laziness - it's not a reason). And along the way you will learn many interesting stuff about architecture and features of architecture of app.

Watch the video below.

Show preview
Leave a comment