TL;DR Hanami may be nice on paper but it’s too constraining when it comes to work on real life situations. I’m sorry to say this but Hanami is a hipster framework. Hanami documentation consits of a starter guide and that’s all. No in-depth documentation. You’ll rapidly notice that if you look for a problem on […]
Why i decided to stop drinking coffee 25 years of drinking coffee everyday. 25 years of having difficulties to sleep correctly. 25 years of feeling irritable. It was time to do something. Here is my little story about why I decided to stop drinking coffee. At my parents As a teenager, I could always find […]
After more than 10 years of Qwerty, I’m switching to Colemak. Why? I’ve realised alternative layouts are quiet popular in the Ruby on Rails community and in my company some people uses Dvorak layout. So I’ve started to read about the Qwerty alternatives. My interest got attracted by the Colemak and the Norman. They are […]
Yes it’s great to add descriptions and unicorns 🦄 in your tickets and pull request but where content is really needed is in your commits. It will always be connected to your code. It’s a reference we (developers) have to care about. So your commits needs to be structured and they need to contain […]
One of my favorite driving principle when coding is separation of concerns (SoC). If your code is calculating the benefits of your company AND is storing the result, you are doing it wrong! So when you finish coding a class, ask yourself “what this class does?”
I’m used to create an array of strings in Ruby this way : but rubocop constantly reminds me there a shortcut for this syntax. Which is : The space is used as separator. The 2 syntaxes are identical.
First of you may ask yourself: “But gosh! What is the difference between ‘require’ and ‘Kernel.require’?”. And the response is NONE! It’s the same. Ruby loads the Kernel module without a receiver and thus can be called in functional form: or Basically Kernel.load will reload every time the file. Where Kernel.require will load the file […]