Slashdot Mirror


New S# Language - Smalltalk for .Net

curador writes "In an interview with David Simmons, CTO of SmallScript Corp., we learned about a new .NET language about to debut...." I was surfing around and found this article and had not noticed it on /. yet so start your flame engines please!"

5 of 47 comments (clear)

  1. My question is this... by MonTemplar · · Score: 2, Funny

    How much does SmallScript have to pay Microsoft for the use of the # in S#? :)

    --
    -MT.
  2. What's next by ajw1976 · · Score: 5, Funny

    Logo.net

    --
    1. Bad signature
    2. ?????
    3. Profit
  3. Re:Nothing to flame by Khalidz0r · · Score: 2, Funny

    Java.NET already exists, under the beautiful name of C#

    --
    "What you 'seek' is what you get!"
  4. Re:better than a new VM by Anonymous Coward · · Score: 1, Funny

    "Plan9 talks via a published protocol [9p] implementable on any platform."

    Sure. Let us know when it's available for the timex-sinclair, Atari 400, and commodore 64.

  5. Null handling by Ed+Avis · · Score: 2, Funny
    From the article:
    S# helps solve some relatively intractable problems. For example, you may declare a parameter of a public method as an object of type String. Within your method, you call the String.IndexOf method. So far so good--but you have to plan for errors. Another programmer is perfectly free to call your method and pass a Null (Nothing, in VB.NET). Despite the fact that Null is not a String, the .NET framework will happily make the call. That means that your method code needs to check for the possibility that someone did in fact pass a Null, and react accordingly. In contrast, in S#, Null is a true object, meaning you can simplify your code by dynamically adding a Null.IndexOf method, and doing nothing. At one fell swoop, you've eliminated both the possibility of an error and all the "if (var == null)" checks you have to write in other languages.

    Oh yeah, sure, you've really eliminated the possibility of error. Why not add every method to the 'null' object while you're about it, then your program could _never_ have null-related bugs!

    --
    -- Ed Avis ed@membled.com