6 ms·
When I first saw Odin, I wrote down a list of everything I didn't think I'd like. After several thousand lines, it proved all of my major worries incorrect, an
by thegeekpirate 1y ago
When I first saw Odin, I wrote down a list of everything I didn't think I'd like.
After several thousand lines, it proved all of my major worries incorrect, and has been an absolute pleasure.
It has since replaced my usage of Go, which I had been using since release.
I would highly recommend giving it a proper shot!
- flysand7 1y agoI'm kinda curious, you mind sharing some of the things you thought you didn't like?
- thegeekpirate 1y agoI took a good hard look at everywhere I may have stored it, but I believe I lost the original list after formatting. I remember believing these were important: - methods (turned out I mainly wanted working intellisense, which Odin does even without methods) - a package manager (still a gripe, but git submodules do the trick somewhat) - expressions (so I could assign the result from a `switch` statement to a variable for instance, but I can use an #inline proc if I _really_ want to) - private by default (I had forgotten how many times I wanted to use something private from a library, and had to fork it instead) - - although possible to make something private in Odin, nowadays I'd rather things be prefixed with underscores instead Also, here are my list of things I'd still prefer changed, but are less important: https://forum.odin-lang.org/t/what-features-of-odin-do-you-dislike/132/112?u=dozn https://forum.odin-lang.org/t/what-features-of-odin-do-you-d...
- perlind 1y agoOdin is public by default.
- thegeekpirate 1y agoReread it =b
- flysand7 1y agoI see yeah, a lot of people might prefer most of these (exclude maybe private by default and privating via underscoring).
- johnisgood 1y agoI do not like "@require_results", for example. Ada uses function vs procedure to make the distinction. I would rather have something like that.