> Your scientists were so preoccupied with whet...
# advent-of-code
j
Your scientists were so preoccupied with whether or not they could, they didn’t stop to think if they should...
Copy code
enum class Soil {
    `+`, `.`, `#`, `~`, `|`, `x`
}
Well, joke's on me - IDEA accepts it fine, but the compiler panics 🙂
😔 1
k
Why do you need
x
?
j
Oh, that meant undefined, not sure if I actually used it but I didn't want to return null or throw on index out of bounds