ID:2287835
Aug 27 2017, 4:00 am (Edited on Apr 28 2020, 2:16 am)
|
|||||||
| |||||||
.
|
And this is where BYOND's indent system begins to hurt.
Personally, C#'s ([args]) => {} is nice. Also that C++ syntax makes absolutely no sense, I have a hard time believing that is like that for any other reason than "the language is a mess already and this won't be a pain for compilers". |
It makes sense if you know how to use it. Personally I like the added capture flexibility of the C++ version more.
|
It's a lot closer to lambda syntax in languages like C#, and doesn't cause confusion with [] which is used for indexing lists (and with 512 being able to read-only index letters out of strings)