Julia Programming Language
Why does the first enum member value default to zero instead of one?
Internals & Design
enum
stevengj
September 13, 2022, 6:13pm
4
This was already discussed:
Why is @enum 0-based?
4 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Why is @enum 0-based?
General Usage
enum
6
1963
October 9, 2019
Cannot reuse enum member in different enum
New to Julia
enum
7
2085
March 2, 2019
Why can't Enums be #undef?
General Usage
parametric-types
,
distributed
,
enum
8
521
May 6, 2022
How can i make Julia array index to start from zero 0 and not from one 1?
New to Julia
offsetarrays
31
1129
May 25, 2025
New blog post on arrays
Community
images
,
indexing
,
discretization
9
2070
April 24, 2017