News for hackers. Stuff that matters.
Re:Ruby Methods Are Colorless by spankalee on Wednesday July 24, 2024 @12:46AM (#41053692)
> And, it absolutely should not require creating two identical function definitions to get around the function coloring problem - that's completely indefensible.

This is very rarely necessary in app code. It's usually only a pattern for higher-level utility functions, and even then if you really wanted to you could unify implementations with generators.

There are no comments on this comment yet.