News for hackers. Stuff that matters.
Re:How to Dynamically Create Instance Variables in Ruby by bluerooibos on Friday July 28, 2023 @10:12AM (#36907072)
Not really a problem I've come across but I'd say if you're passing 100 arguments to your initialize method, you probably need to refactor somewhere? Personally, I like seeing the instance variables I have rather than having them hidden in a magic list of attributes.
Re:How to Dynamically Create Instance Variables in Ruby by ransom1538 on Friday July 28, 2023 @10:19AM (#36907164)
Or an... array? Like why bother?