java) and that's what users will expect
.clone()or sth similar if they want a copy of the object
@ourClass.classname() #will return the name from reflection e.g List @ourClass.modulename() #will return the module name from reflection e.g simple.core @ourClass.absolutename() #will return the absolute name from reflection e.g simple.core.List
displayuse this instead
call simple.utilities.Console stdout.println(yourobject) #to print an object to standard output stderr.println(yourobject) #to print an object to standard error stream
using the blocks from Console will even allow any kind of object to be printed in a very pretty manner. If the object does not inherit 'Object' and does not have it toString() block you can send true as extra parameter to create a printable string from the object e.g
test = new Test stdout.println(test) #prints => (this object cannot be printed) stdout.println(test,true) #prints => [module.Test:x=10,y=10] class Test x = 10 y = 10
stdout.println(test,true) actually created a printable string from the object
sopein yoruba or
显示in china . The feature will be included in our next release
yesand if you do not type
no. An example of a dy keyword feature is
I disagree with the implementation of otheer languages. It looks like rivalry and a lil bit childish
Only for the fact that it part of the simple-lang primary implementation. I call it flexible syntax.
You can check the earlier git commit from early febuary it has the feature but commented out trying to make it a main release feature
https://github.com/simple-lang/simple/blob/b7e86692d25166f6fb373a5eaafa1236db381a87/bootsrc/sources/simple_scanner.c line 584
Also we shouldn't say the feature in Simple is rivalry. This is something that any language core team could merge if:
Also if we were to compare it with yorlang. I don't suspect yorlang will be developed into becoming a fully mature laguage, based on examining the language owners point of view.
For me, what I'll also want to know is Simple's vision. As the only closely related statement I saw about this on the readme is,
"SIMPLE is a plain and innovative programming with multi-paradigm. It can be embedded in C/C++ projects. The language is portable to various OS including windows, macOS, any linux and unix distros and other OS. The language is small and fast."
For emphasis: a plain and innovative language .
Of which such a feature falls under.
Hence it's better to come up with a more concise vision statement, if that was not what was meant.