I'm indifferent to the written word forms as they are, but I do think & and | would have been better for logical "and" and "or". I'm also curious if we'd use = for equality instead of for assignment. I remember young me initially being confused by = meaning assignment.
-
-
-
There are three independent concepts vying for the = symbol: definition, comparison, and reassignment. Math is contextually loose on definitions versus comparison, and lacks reassignment.
- 2 more replies
New conversation -
-
-
None of those matter as much as not inheriting the shitty keyword-less variable declaration syntax of C. Pascal did this right: "var <name> : <type>".
-
C declaration syntax is wirthless!
End of conversation
New conversation -
-
-
std::logical_and(a,b) , std::logical_or(a,b) , std::logical_not(c)
-
std::(a std::&& b std::)
End of conversation
New conversation -
-
-
If you were to make a new UnrealScript, would you keep the explicit state transition system? I’m curious how you feel about that design choice in 2019.
-
That’s a great question. I’m not 100% sure. There are interesting questions about inheritance versus composition, and synchronous execution versus coroutines or fibers that can suspend and resume.
- 1 more reply
New conversation -
-
-
Do away with the == in conditions. If BASIC language could understand why not the C family?
-
How would you define a Boolean variable like C “bool smaller = x<x0 || x==x0 && y<y0”? BASIC limited comparisons and logical operations to “if” statements, but that’s pretty limiting.
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.