Jim Lawrence
accessd at shaw.ca
Fri Oct 5 13:40:22 CDT 2012
Hi Gustav: Noting; that translators and interpreters of another language never produce as effective code as native development. When discussing websites there are two distinct areas of development; the presentation FE and the BE, intelligence and database management. When producing the FE for a website, being able to code directly in JS or being able to call upon highly-efficient JS libraries is superior. After all, the only language that a browser understands is JavaScript. When programming strictly in VS using ASP.Net the resultant code is a huge kludge. (I presume that all the other languages that produce " idiomatic JavaScript " create similar kludges) These assemblers are very effective ways of quickly hacking together a "functional" prototype design for viewing and discussing. OTOH, from experience, on any single webpage, a 1000 lines of generated code can be rendered down to something between 50 and 100 lines of clean code and much prettier as well. The code generated also has a pre-disposition to make a server call for every desktop browser page change, no matter how small, which is highly inefficient. This is of course is no concern if you have unlimited band-width and similar server resources or just working on your own network. One of the most frustrating things for your clients, is having to wait while each page change requires a call back to the server and another whole page refresh. If you do it right, your bandwidth or your client's desktop does not have to be large and your servers do not have to have massive resources...but this will require a carefully and most likely manually assembled or intervention of your FE and even your BE development. Further observation; can I assume Scott Koon, is most likely a desktop developer and probably is not a web designer? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 05, 2012 12:42 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Meet, Play,Follow & Contribute: TypeScript - an open-source "Object-OrientedJavaScript" from MS.. Hi Shamil And here's the official intro by Anders Hejlsberg himself: http://channel9.msdn.com/posts/Anders-Hejlsberg-Introducing-TypeScript However, I love the top comment by Scott Koon. He has a point: <quote> I'll go on record as saying this is almost the dumbest idea ever. We already have a strongly typed language that can compile to idiomatic JavaScript. It's called C#. Or Java. Or Lisp. Or C++. I know MS is working on a better VM for JavaScript. I know they are working on making the JS tooling in Visual Studio better. Why are they waiting time with this language? Is Anders just bored at MS? </quote> /gustav >>> mcp2004 at mail.ru 04-10-12 18:50 >>> Hi All -- FYI:*http://www.typescriptlang.org/Playground/* &*http://typescript.codeplex.com/ Source: *http://techcrunch.com/2012/10/01/microsoft-previews-new-javascript-like-pro gramming-language-typescript/ Thank you. -- Shamil* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com