PHPnews.io

Overview for 'yegor256'

How I Would Re-design equals()

Written by Yegor Bugayenko / Original link on Jul. 10, 2017

I want to rant a bit about Java design, in particular about the methods Object.equals() and Comparable.compareTo(). I've hated them for years, because, no matter how hard I try to like them, the code inside looks ugly. Now I know what exactly is wrong and how I would design this "object-to-object…


Am I a Sexist?

Written by Yegor Bugayenko / Original link on Jul. 3, 2017

Recently I said a few words in my Telegram group about "women in tech," which led to some negative reaction on Twitter. I believe I owe my readers an explanation. Some of them already got confused and came to me with the question: "If you're so much against slavery, where is this male chauvinism co…


My Work Environment

Written by Yegor Bugayenko / Original link on Jun. 26, 2017

I was asked in my Telegram Group which tools and hardware I use in my daily work. Here is the full list of what I have and even how much I paid for them. Maybe it will be helpful for someone. MacBook Pro Retina, 15-inch, Late 2013, 2.3GHz/16Gb/512Gb ($2,900) with MacOS Sierra. I bought it over thre…



DynamoDB + Rake + Maven + Rack::Test

Written by Yegor Bugayenko / Original link on Jun. 12, 2017

In SixNines.io, one of my Ruby pet web apps, I'm using DynamoDB, a NoSQL cloud database by AWS. It works like a charm, but the problem is that it's not so easy to create an integration test, to make sure my code works together with the "real" DynamoDB server and tables. Let me show you how it was…


Gluten-Free Management Recipes

Written by Yegor Bugayenko / Original link on Jun. 5, 2017

We live in the era of organic food, eco-friendly toilets, zero-emission cars, and harassment-free offices. Our management practices have to keep up—they must be zero-stress, conflict-free, and idiot-friendly. If you're still stuck in the old carrot-and-stick, mediocrity-intolerant, primitive mental…