even in 2021 enums are POO.

3 views
Skip to first unread message

Raoul Duke

unread,
Nov 11, 2021, 1:47:29 PM11/11/21
to pi...@googlegroups.com
if you cannot programmatically enumerate the cases of an enum then gosh it isn't much of an "enum" now is it????!!!!!

Mike Austin

unread,
Nov 11, 2021, 11:25:46 PM11/11/21
to PiLuD
Even Ruby has had "succ" forever. https://apidock.com/ruby/v2_5_5/String/succ. Which language are you using?

Raoul Duke

unread,
Nov 12, 2021, 1:15:26 AM11/12/21
to pi...@googlegroups.com
objective-c et. al. :-/

--
You received this message because you are subscribed to the Google Groups "PiLuD" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pilud+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pilud/139231d0-c715-4572-878e-c806cfd2d985n%40googlegroups.com.

Mike Austin

unread,
Nov 12, 2021, 4:03:44 PM11/12/21
to PiLuD
Well, yeah :) It's an old language on top of another old language. But like you said, you definitely know what arguments are being passed in functions. That's one plus.
Reply all
Reply to author
Forward
0 new messages