maverickmeerkat
banner
andser.bsky.social
maverickmeerkat
@andser.bsky.social
Ruby On Rails developer with PHP background
Reposted by maverickmeerkat
This is how I will use Data class to return multiple values from a method:
December 6, 2024 at 12:00 PM
Brutal & simple 🙂💪
December 10, 2024 at 7:01 PM
Yeah. Just shared how it feels for me ;)
December 4, 2024 at 9:23 AM
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.
December 4, 2024 at 9:01 AM
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.
December 4, 2024 at 8:38 AM
Celebrate freedom!
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
media.tenor.com
November 9, 2024 at 10:25 PM
a cat with a caption that says so true
ALT: a cat with a caption that says so true
media.tenor.com
November 9, 2024 at 8:49 AM
Same. Found this site couple of weeks ago. Very useful! 🔥
November 6, 2024 at 11:59 PM