Results 1 to 6 of 6

Thread: ScriptBasic Embedding

  1. #1

    ScriptBasic Embedding

    *** deleted ***
    Last edited by John Spikowski; 18-09-2013 at 19:08.
    ScriptBasic Project Manager
    Project Site
    support@scriptbasic.org

  2. #2
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,153
    Rep Power
    736
    Microsoft uses VB in their documentation of their other language offerings to show how things work.
    Hi John,

    do you have any example of this happening? Would be nice to see, but I do not remember this to be the case for long time, maybe back in 90's.

    From my experience Microsoft in particular shows the technique in all their languages, side by side. For example here, C#, C++ and VB code in the Examples:
    http://msdn.microsoft.com/en-us/libr...19.aspx#Y10061

    The idea is that everyone understands Basic
    Maybe depends on the country, from what I have seen in my life, even people not programming start to laugh by default when hearing about BASIC, because "they heard it is lame/not for serious apps". With this "opinion", I think most people do not even consider trying BASIC, therefore their experience with its syntax is not very common. I recently read an article where BASIC was considered harmful, because people writing in it forgot to write semicolons in other languages. What an ... argument .

    I am not native speaker, so I am not sure I understand your last sentence, could you explain it more .


    Thanks,
    Petr
    Last edited by Petr Schreiber; 22-10-2011 at 17:31.
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  3. #3
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,153
    Rep Power
    736
    I agree the "English feel" side of the BASIC language is something which attracted me a lot when I was young and decided which language to pick. But lately, it seems the OOP model as a such gives similar service in almost any language.
    I think that is one of the reasons I feel strong BASIC "spirit" from C# language for example.

    Little illustration:
    sText = File.ReadAllText("c:\temp\myCharacters.txt");
    sText = sText.ToLower();
    
    If there would not be that semicolon on the end, it very much resembles some of the BASICs - no ugly characters, the stream of "commands" flows similar to english language as in BASIC.

    I think the transition to higher level languages, increased performance of PCs, bigger hard drives and code completion mechanics smoothed the borders between languages a lot. Obscure strcpy and similar few characters "magic words" commands (not speaking of assembly) are now substitued by more english like function/method names in many languages.

    Sometimes, BASIC takes it too far with being English like. For example, I was never big fan of:
    Local myValue As Number
    
    syntax, because I think the:
    Number myValue
    
    ... is still "human language compatible" and much shorter (similar to "things I should buy" list of items I use when I go to shop).

    ThinBASIC and many other newer BASICs offer this alternative syntax. Often being criticised by "BASIC hardcore guys", but I think these people forgot the purpose and focus too much on form they are used to.


    Petr
    Last edited by Petr Schreiber; 22-10-2011 at 21:08.
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  4. #4
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    68
    Posts
    3,865
    Rep Power
    405
    We are all getting old. The current generation of young kids when I mention programming ask about in this order: html and xml.

  5. #5
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10
    Quote Originally Posted by kryton9 View Post
    We are all getting old. The current generation of young kids when I mention programming ask about in this order: html and xml.
    They ask what they know now or what their teachers are able to teach them at that age.

    But with such tools they will get problems as soon as the project will grow or will become more complex.
    At that point they will ask something different.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  6. #6
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10
    Here in Italy: Java, .Net, C++
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

Similar Threads

  1. Oxygen Embedding
    By John Spikowski in forum O2 JIT Compiler / Assembler / Oxygen project
    Replies: 1
    Last Post: 09-05-2011, 10:42
  2. AllBASIC Embedding Code Challenge
    By John Spikowski in forum Shout Box Area
    Replies: 3
    Last Post: 11-08-2009, 12:07

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •