|
|
|
|
|
by quietbritishjim
1534 days ago
|
|
Python has had enums [1] since Python 3.4 (2014). You can easily convert back and forth between enum values and their string and numeric values. I don't know anything about Ruby or Erlang so I don't know if that's really relevant, just your comment seems to imply it doesn't. [1] https://docs.python.org/3/library/enum.html |
|