News for hackers. Stuff that matters.
Re:Friendly Attributes Pattern in Ruby by montroser on Saturday November 08, 2025 @11:38AM (#45857970)
Ah, that's good to know! Yeah, he was wrong about a lot of stuff, so that adds up. He ended up in jail for a stint.
Re:Friendly Attributes Pattern in Ruby by jaredcwhite on Saturday November 08, 2025 @11:51AM (#45858070)
whoa
Re:Friendly Attributes Pattern in Ruby by bradgessler on Saturday November 08, 2025 @12:26PM (#45858342)
Quite the plot twist there
Re:Friendly Attributes Pattern in Ruby by radanskoric on Saturday November 08, 2025 @12:32PM (#45858386)
Woah, this thread escalated quickly.
Re:Friendly Attributes Pattern in Ruby by hoipaloi on Sunday November 09, 2025 @03:33AM (#45863923)
you monkeypatch over core methods like that they put you in jail right away no trial, no nothing. Metaprogrammers... we have a special jail for metaprogrammers. You're global variabling? Right to jail. You're using for loops instead of iterators? To jail right away. You're type checking by class... Jail. Abusing eval? Jail. You're using global variables like a drunken sailor? You right to Jail. You overuse class variables Jail. You underuse class variables believe it or not jail. You use too many tests also Jail, overuse underuse. You use define method and you could have created the methods explicitly? Believe it or not, jail right away. We have the best code monkeys in the world because of jail.