@talon Wait, it supports that kind of constraint? That's like prolog shit! If you carefully express your constraints with variables that aren't fully initialized in some languages that can do this you can use those variables as a solver with stupid powerful lazy evaluation.
@miki@talon Oh yeah that, Python can apparently do that too now except I don't think it's that good yet? When I took a class called design of programming languages we worked with something called Oz which could. It was like pascal and lisp and prolog had a baby. Everything was recursive, recursion was how you implemented fucking loops.
@x0@talon That's functional programming for you, read "structure and interpretation of computer programs" if you're into that sort of stuff. I never actually fully finished it myself, but the parts I managed to read were already quite fascinating.
@talon That’s just idiotic. The last is not equal to six is completely useless. If a number is greater than 10 and less than 100 of course it’s not gonna be six.
@talon well, I personally like being responsible for memory, but too many others screw it up that you have literal national security problems as a result
@emilvolk I recently looked at Java again because I stumbled across something that I've been looking for for years, and was quite pleasantly surprised. At some point pragmatism just wins out for me, and if that thing I wanted is written in Java/for the JVM, then there's no reason for me not to just... use it. I want a thing done, this does the thing, good enough for me!
@emilvolk uh... this is a library. Not an end user app. That was probably not very clear. So choice of libraries/tools influenced me using Java again. And that's fine!
@talon string[]@ opImplConv() const property { return this.text.split("\n");}
Allows you to cast your type to a string[]@ in Angelscript implicitly. There's also opImplCast, which does it explicitly.
Add comment