Paul Barry
banner
pjb3.bsky.social
Paul Barry
@pjb3.bsky.social
CTO of spark.golf, interested in web/mobile dev, Ruby, JavaScript, Sports ⛳️🏌️⚾️🏈, Live Music ⭕️⚡️🪿
Nice, me too!
August 9, 2025 at 1:24 AM
I kind of wish there was an operator for that, for example if "<>" weren't already in use as an alias for "!=", that would be cool, but of course we can't make that change for backwards compatibility reasons.
July 16, 2025 at 2:38 PM
I had to install this to get brackets that match in color based on the level of nesting: plugins.jetbrains.com/plugin/10080...
Rainbow Brackets - IntelliJ IDEs Plugin | Marketplace
🌈Rainbow Brackets for IntelliJ based IDEs/Android Studio/HUAWEI DevEco Studio Core Features Rainbowify various types brackets(Round,Squiggly,Square,Angle) Rainbowify...
plugins.jetbrains.com
January 8, 2025 at 2:11 PM
That’s pretty cool, there is plugin called Rainbow Brackets for JetBrains editors that does something similar
January 7, 2025 at 3:52 PM
100%! I don't know how/why anyone still plays this song.
December 21, 2024 at 1:15 AM
I only write methods like that by hand if there is some additional logic to add. For example, User.find_by_email could downcase the argument, skip the query if the argument is blank, etc. If it is just a straight DB query, using the generic API signals there is nothing else going on here.
December 4, 2024 at 11:50 AM
To me, using method_missing to dynamically generate these methods seems like something that adds unnecessary “magic” to Rails and is a somewhat confusing concept to have to explain to new Rails devs. I don’t see how having the attributes in the method name instead of the arguments adds clarity.
December 4, 2024 at 11:35 AM