Re: [Discussion] Implicitly backed enums
| From: | Bilge | Date: | Thu, 23 May 2024 18:57:56 +0000 |
| Subject: | Re: [Discussion] Implicitly backed enums | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-123423@lists.php.net to get a copy of this message | ||
On 23/05/2024 19:48, Tim Düsterhus wrote:
As for the initial suggestion of implicitly backing enums: I'm strongly against that. Personally I find that backed enums are almost never useful.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? Cheers, Bilge