HaxeFoundation / code-cookbook

The Haxe Code Cookbook - A community driven resource website for learning Haxe in practise
https://code.haxe.org
112 stars 85 forks source link

Avoid explicit enum prefixes in the ADT article #143

Closed Gama11 closed 4 years ago

Gama11 commented 4 years ago

I think it's not very idiomatic to explicitly include the enum name as a prefix everywhere, especially in pattern matching, so it's probably best to avoid this in usage examples.

markknol commented 4 years ago

I'm fine with that!