Incidental programming language aesthetics - smiley face
-
26-05-2021 - |
题
Is there a programming language where :)
is valid syntax (excluding custom defined templates or operator overloading etc)?
解决方案
Matlab. a(:)
means "all the elements of a
arranged as a column vector". Given liberal whitespace, you could also write it as a( :)
.
不隶属于 StackOverflow