I have a few issues with function syntax that I would like to resolve. I implemented it like it currently is just for the ease but while working on some test files I found these workarounds to be a little annoying.
[ ] The colon between the function signature and the function body
[ ] When functions don't return anything, you should be able to omit the arrow and the return list so the function will look like:
func (value: string) {
# do some operation
}
[ ] This is not that bad and I likely wont do this one but my original design of the language didn't require the initial 'func' keyword to start off the function.
I have a few issues with function syntax that I would like to resolve. I implemented it like it currently is just for the ease but while working on some test files I found these workarounds to be a little annoying.