Rob Hesketh (@RobAHesketh) header
Rob Hesketh (@RobAHesketh) profile picture

Ruby developer working in London, originally from Lancashire. I love riding my bike and wasting time on hobby projects.

Camden Town, London
Joined June 2015
Photo by Rob Hesketh (@RobAHesketh)Photo by Rob Hesketh (@RobAHesketh)Photo by Rob Hesketh (@RobAHesketh)Photo by Rob Hesketh (@RobAHesketh)
When people ask me why I use Ruby
1
A fantastic post about the dangers of trying to standardise your codebase too early. I’ve been using this as a guide for the greenfield work I’m doing today sandimetz.com/blog/2016/1/20…
Here’s some advice from a former junior to current senior programmers: if someone is explaining their thoughts on an issue which you have already formed a conclusion about, let them explain their process, don’t relish it as an opportunity to tell someone why they are wrong
2
I’m growing to love the rubocop rule requiring all classes to have a comment explaining what they do. Seems unnecessary when you’re forced to do it but it really helps clarify what exactly classes like “MediatorService” or “PlatformFinder” are actually DOING
1
1
Another good argument for writing single-line comments is that it helps you with the Single Responsibility Principle. If you can’t describe the class in a line, or if that line includes the word “and”, it’s probably a sign the class is doing too much
Lately I’ve discovered that when you write smaller classes, lots of other things just fall into place. Unit tests get less sprawling because they are asserting that less stuff happens. Methods can be more explicit because saving lines isn’t a priority to keep things readable.
Just refactored a small piece of code using the principle that if you have to explain it with a comment then it could be made clearer. I thought the implementation on the left looked good and is pretty "clever" but the implementation on the right makes it clearer what is going on
1
1
The best piece of advice that I've heard recently is "don't keep making a mistake just because you've already spent a lot of time making it"
I completely agree with this thread. Experiencing other disciplines is handy, even if you don't use them full-time nitter.cf/jmspool/status/8575682…
1/OK. Let’s do this 1 more time. Should designers learn to code? Should developers learn to design? Should? No.
1
4
Looks like you can just tell someone to go to the URL, type in your email address and boom. Skips a lot of guesswork and it's easy to use.
Today I described myself and @nicbell as "Front-end and back-end working together, like a pantomime horse"
1
1
1
Spending time improving our automated testing. If image comparison tests fail, we generate failure reports like this #UE4
7
33
3
90
Devs in the office currently very happy because we've found a valid use case for Timecop in the current project
Nicely written little refresher on what eager loading is and how it can help solve performance problems in Rails rubyplus.com/articles/3211-E…
This is your brain on microservices
You can tell how strong a developer's power level is by how many post-it notes they've amassed on the edges of their monitor
1
Just finished my first ever #SMR12 jobs fair. Really great atmosphere, lovely people, would highly recommend!
I'm available for work as a Mid-level Ruby contractor, London/Remote. Say hi if you're interested, DMs are open robhesketh.com
1
13
2