[dba-Tech] A new compiled JavaScript?

Salakhetdinov Shamil mcp2004 at mail.ru
Wed Mar 20 05:07:41 CDT 2013


 Hi Hans --

<<<
You quote that as if its a bad thing!
>>>
Of course it does for Ruby/RonR/Python practioners as you're! :)

But IMO the fact that you use CoffeeScript doesn't make the quote:

> " TypeScript is not a crutch any more than JSLint is a crutch. It doesn’t hide JavaScript (as CoffeeScript tends to do)." - Ward Bell

a 'bad  thing' or incorrect. Another quote approves the above one:

"CoffeeScript... feels like a much improved version of JavaScript where the bad parts are removed or replaced. It also moves JavaScript away from the C/Java syntax and into the syntax of Ruby or Python" ( http://amix.dk/blog/post/19612 )

And BTW I do like Ruby and Python - I do not use them here but if by any chance I'd have an opportunity to develop software using Ruby (and Ruby on Rails) and/or Python (and Django) or PHP I'd not mind at all - after all my first programming languages were powerful macro-assemblers and PL/I from IBM/360, then PDP/11 macro-assembler and Pascal and then C with object-like custom 'constructions' (structs with function pointers etc.), then C++ and Pascal etc. ... and of course SQL - first experience in which I have got going from database normalization theory, relational algebra and relational calculus...

Thank you.

-- Shamil

Вторник, 19 марта 2013, 17:42 -07:00 от Hans-Christian Andersen <hans.andersen at phulse.com>:
>You quote that as if its a bad thing! After all, all languages and frameworks do that very thing to one extent or another. One could say the very same thing about even Assembler. If it lets you write smaller and more legible code without any serious downsides, I'm all for it.
>
>Btw, I am not from the Ruby camp. :) (and it would be more accurate to reference the Rails camp, as Ruby and Ruby on Rails are different things for different people). I've used CoffeeScript very happily on projects across the board of web languages (PHP, Python/Django and Rails) and I'm hoping to shim it into my current PHP/Backbone.js project.
>
>- Hans
>
>
>On 2013-03-19, at 3:52 PM, Salakhetdinov Shamil < mcp2004 at mail.ru > wrote:
>
>> Hi Hans --
>> 
>> Of course - you're from "Ruby camp" :)
>> 
>> But what about: 
>> 
>> " TypeScript is not a crutch any more than JSLint is a crutch. It doesn’t hide JavaScript (as CoffeeScript tends to do)." - Ward Bell
>> 
>> Source:  http://www.hanselman.com/blog/WhyDoesTypeScriptHaveToBeTheAnswerToAnything.aspx
>> 
>> -- Shamil
>> 
>> 
>> Вторник, 19 марта 2013, 15:20 -07:00 от Hans-Christian Andersen < hans.andersen at phulse.com >:
>>> I'd rather go with CoffeeScript than TypeScript.
>>> 
>>> - Hans
>>> 
>>> 
>>> On 2013-03-19, at 2:16 PM, Salakhetdinov Shamil <  mcp2004 at mail.ru > wrote:
>>> 
>>>> Hi Jim --
>>>> 
>>>> Thank you for your link.
>>>> 
>>>> Concerning your question: "No, I haven't worked with DART."
>>>> 
>>>> Quick googling gives:
>>>> 
>>>> Douglas Crockford, when asked about Dart during his Programming Style and Your Brain lecture, replied: "So, I've thought for a long time ... if I could take a clean sheet of paper and write [a new language] that retains all the goodness of [Javascript] ... I would not have come up with anything like Dart."  (Source:  http://en.wikipedia.org/wiki/Dart_ (programming_language ) ) Resume: if not pure JavaScript (with jQuery etc.) then go TypeScript (  http://en.wikipedia.org/wiki/TypeScript ) not DART. :)
>>>> 
>>>> Thank you.
>>>> 
>>>> -- Shamil
>>>> 
>>>> 
>>>> Вторник, 19 марта 2013, 11:15 -07:00 от "Jim Lawrence" <  accessd at shaw.ca >:
>>>>> Hi All:
>>>>> 
>>>>> Has anyone seen or worked with the Dart product? It looks interesting in
>>>>> that it allows a developer to design in a structured language and then it
>>>>> compiles to standard HTML5 JavaScript code.
>>>>> 
>>>>>  http://www.dartlang.org/
>>>>> 
>>>>> Jim 
>>>>> 


More information about the dba-Tech mailing list