News for hackers. Stuff that matters.
Re:How to Dynamically Create Instance Variables in Ruby by nico on Friday July 28, 2023 @10:26AM (#36907268)
> Disclaimer: The point of the post is not that we should all be creating instance variables dynamically from now on, but just to show one way to do it for those rare cases when you actually do need it

Make sure you absolutely need it

Trying to track variable names and finding specific code when they are being generated dynamically can quickly become nightmare

There are no comments on this comment yet.