maverickmeerkat's Avatar

maverickmeerkat

@andser

Ruby On Rails developer with PHP background

4
Followers
7
Following
9
Posts
06.11.2024
Joined
Posts Following

Latest posts by maverickmeerkat @andser

To understand what service objects you need - start from business logic first. It’s very convenient to start from “big picture” overview.

06.01.2025 16:37 👍 0 🔁 0 💬 0 📌 0
Post image

This is how I will use Data class to return multiple values from a method:

06.12.2024 12:00 👍 5 🔁 1 💬 1 📌 0
Post image

Today in Postgres Is All You Need: a poor man's job queue that prevents concurrent workers from processing the same jobs.

04.12.2024 16:09 👍 4 🔁 1 💬 1 📌 1

Brutal & simple 🙂💪

10.12.2024 19:01 👍 1 🔁 0 💬 0 📌 0

Yeah. Just shared how it feels for me ;)

04.12.2024 09:23 👍 1 🔁 0 💬 0 📌 0

I will write tests that will cover code in make_second_letter_upcase, pick_letter & replace_letter, calling only public method - make_second_letter_upcase. Testing replace_letter & pick_letter separately is useless & weird.

04.12.2024 09:01 👍 1 🔁 0 💬 1 📌 0

Testing private methods is an anti-pattern for me. If developer trying to test private method - means that he can’t find conditions to test class from the public perspective. He just don’t understand how the class works or this private method with its logic is not needed & this code never executes.

04.12.2024 08:38 👍 1 🔁 0 💬 1 📌 0
Cover for Agile Web Development with Rails 8

Cover for Agile Web Development with Rails 8

Now in beta: pragprog.com/titles/rails...

09.11.2024 23:04 👍 41 🔁 11 💬 2 📌 1
Preview
a man stands in a field of tall grass with his arms outstretched ALT: a man stands in a field of tall grass with his arms outstretched

Celebrate freedom!

09.11.2024 22:25 👍 0 🔁 0 💬 0 📌 0
Preview
a cat with a caption that says so true ALT: a cat with a caption that says so true
09.11.2024 08:49 👍 0 🔁 0 💬 0 📌 0

One of the hardest thing in development is to explain to PMs that eliminating tech debt is equally important as new business feature 🤕

07.11.2024 00:39 👍 3 🔁 0 💬 0 📌 0

Same. Found this site couple of weeks ago. Very useful! 🔥

06.11.2024 23:59 👍 1 🔁 0 💬 0 📌 0