Oscar Campbell
Oscar Campbell
The big kahuna questions is (apart from true UFCS, both ways), if there should be a line drawn as what generality to match (would be kinda weird though). ``` sum(x...
Yes, what's apparent is: - Empirical intell, currently, is languages that use it (D and Rust) - they have weak ass inference. - Discussions contemplating using it regards C++, which...
Ideas for more approaches. Speaking of the devil, the `..` suggested for cascading. How about using this operator for the pipe-operator functionality requested in #34, calling functions as if methods:...
We'll have to keep bombarding this subject. I'll read through it all again when time permits to get a birds view.
I forgot to mention one thing, regarding selective extension methods. I was reminded because I stumbled upon a macro by the developer of Temel. I show the non-macro principle, since...
I should type less on issues when I'm half a sleep, hehe. It simply means that "extension methods" can very simply be implemented with a simple macro. Well... it also...
Yes, that's exactly how it would work out :-). I do think I'd prefer a pragma rather than annotating first param though, or some other means of marking the function,...
Yes, those are valid options too. Pragmas apply to either the containing construct, when defined first (as in the example). Or to the following construct when no empty line in...
Cleaning up issues a bit. UFCS will _not_ be implemented. It's _so_ easy to define functions and methods in Onyx, and given the type inference and generics, it's a no-brainer...
dev-build: default to dynamic, release-build: default to static. Much reasonable.