Results 1 to 40 of 2075

Thread: TwinBasic

Threaded View

  1. #9
    Member
    Join Date
    Nov 2018
    Posts
    62

    Re: TwinBasic

    Quote Originally Posted by Eduardo- View Post
    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
  •  



Click Here to Expand Forum to Full Width