Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I should clarify. I may have mistyped.

Odin allows type inference at the declaration level `foo := 1` for example, and a few other places, largely from the constant system. 1 can be an integer, float, or even a matrix, given the larger context.

What I meant was implicit type conversion. Integers do not automatically cast as booleans in Odin, as an example.



> What I meant was implicit type conversion.

Well, that's something completely different then.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: