News for hackers. Stuff that matters.
Re:About V, the language Volt is written in by Straw on Thursday February 07, 2019 @04:08AM (#19103995)
Although you can certainly go the pure functions route, I wouldn't recommend it for performance.

There's a false dichotomy between functions and methods, which are simply (sometimes dynamically dispatched) functions with a special first argument. If you allow mutable first arguments, why not any argument?

Instead of the language deciding what's mutable and not, I'd rather have a const system like C/C++ to ensure that changes aren't happening behind the programmer's back.

There are no comments on this comment yet.