Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Insider News
  4. Why does TypeScript have to be the answer to anything?

Why does TypeScript have to be the answer to anything?

Scheduled Pinned Locked Moved The Insider News
javascriptquestioncom
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Terrence Dorsey
    wrote on last edited by
    #1

    Scott Hanselman[^]:

    TypeScript is a superset of JavaScript and you write it like you write JavaScript which I like. Any existing JavaScript is already TypeScript. One argument has been made that TypeScript is for people who don't want to learn JavaScript. I don't buy that. As Ward Bell said in an email: TypeScript is not a crutch any more than JSLint is a crutch. It doesn’t hide JavaScript (as CoffeeScript tends to do). - Ward Bell. I think Ward says it well. Folks rail against static typing but they don't complain about JSLint. TypeScript offers optional type annotations - it's hardly a perversion of JavaScript.

    TypeScript has been out a day. It's way early to see if it has legs.

    C N 2 Replies Last reply
    0
    • T Terrence Dorsey

      Scott Hanselman[^]:

      TypeScript is a superset of JavaScript and you write it like you write JavaScript which I like. Any existing JavaScript is already TypeScript. One argument has been made that TypeScript is for people who don't want to learn JavaScript. I don't buy that. As Ward Bell said in an email: TypeScript is not a crutch any more than JSLint is a crutch. It doesn’t hide JavaScript (as CoffeeScript tends to do). - Ward Bell. I think Ward says it well. Folks rail against static typing but they don't complain about JSLint. TypeScript offers optional type annotations - it's hardly a perversion of JavaScript.

      TypeScript has been out a day. It's way early to see if it has legs.

      C Offline
      C Offline
      Clifford Nelson
      wrote on last edited by
      #2

      Saying the TypeScript is for people that don't want to learn Java is like saying we should still be programming with Basic.

      1 Reply Last reply
      0
      • T Terrence Dorsey

        Scott Hanselman[^]:

        TypeScript is a superset of JavaScript and you write it like you write JavaScript which I like. Any existing JavaScript is already TypeScript. One argument has been made that TypeScript is for people who don't want to learn JavaScript. I don't buy that. As Ward Bell said in an email: TypeScript is not a crutch any more than JSLint is a crutch. It doesn’t hide JavaScript (as CoffeeScript tends to do). - Ward Bell. I think Ward says it well. Folks rail against static typing but they don't complain about JSLint. TypeScript offers optional type annotations - it's hardly a perversion of JavaScript.

        TypeScript has been out a day. It's way early to see if it has legs.

        N Offline
        N Offline
        Nemanja Trifunovic
        wrote on last edited by
        #3

        Dunno about the rest of you, but my favorite fix for JavaScript is Javathcript[^]. Lisp in the browser is what every real geek dreams of:

        <script type="text/lisp">
        (let*
        ( (button (getElement "btn"))
        (nameField (getElement "name"))
        (clickHandler (lambda () (alert (concat "Hello " (get nameField "value"))))) )
        (set button "onclick" (export clickHandler))
        )
        </script>

        utf8-cpp

        F 1 Reply Last reply
        0
        • N Nemanja Trifunovic

          Dunno about the rest of you, but my favorite fix for JavaScript is Javathcript[^]. Lisp in the browser is what every real geek dreams of:

          <script type="text/lisp">
          (let*
          ( (button (getElement "btn"))
          (nameField (getElement "name"))
          (clickHandler (lambda () (alert (concat "Hello " (get nameField "value"))))) )
          (set button "onclick" (export clickHandler))
          )
          </script>

          utf8-cpp

          F Offline
          F Offline
          Fabrice Leal 0
          wrote on last edited by
          #4

          \o/ come at me bro! :-D

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups