|
-
Dec 15th, 2021, 04:11 PM
#9
Member
Re: TwinBasic
 Originally Posted by Eduardo-
I was thinking, for the new syntax, what about :
Code:
+ a ' adds 1
+ a 2 ' adds 2
' or
+ a, 2
What do you think?
I find that syntax really unpleasant (it would probably also be a nightmare to parse in all the settings expressions can exist). Why reinvent the wheel? += (and all its many kin) are ubiquitous, not only in C-like languages, but also FreeBASIC, VB.Net, Java, JavaScript, Python, PHP, Ruby... In fact it would probably be quicker to list the languages that _don't_ implement it!
A developer coming from any of these languages would lament their absence, so why inflict it? These are already implemented in twinBASIC.
Last edited by mansellan; Dec 15th, 2021 at 04:15 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|