Re: [Discussion] Implicitly backed enums
From: Tim Düsterhus Date: Sat, 25 May 2024 09:09:01 +0000 Subject: Re: [Discussion] Implicitly backed enums References: 1 2 3 4 5 6 7 8 9 10 Groups: php.internals Request: Send a blank email to [email protected] to get a copy of this message
Hi On 5/23/24 20:57, Bilge wrote:Fair enough; I think we've somewhat moved on from the initial suggestion of implicitly backed enums, towards implicit values for string enums (for those names without explicitly defined values). What is your opinion on this alternative approach?Generally not a fan of implicit. I like my code to be easy to read and reason about, not easy to write (and hard to read). Best regards Tim Düsterhus
Thread (21 messages)
« previous | php.internals (#123429) | next » |
---|