Posts

Showing posts from October 5, 2014

Do Not Use Dart or CoffeeScript

Do not use Dart or CoffeeScript. Just use plain JavaScript. If you must use something fancy, use TypeScript.Dart is basically JavaScript with Java syntax & semantics. Java is bad. Goole do it because Google can't divorce Java.CoffeeScript is no good because it's a layer of complexity, with ad-hoc syntax, and benefit isn't big enough. It will never be standard.TypeScript is acceptable, because it's JavaScript compatible, with benefit of type system (math foundation❕),not hacker whims of idioms & styles & patterns & OOP crud.see also What do Microsoft, Apple, Mozilla, say about Dart?

Poetry in Chinese vs English

月不圆花不好… 浮云散明月照人来,团圆美满今朝最。清浅池塘鸳鸯戏水,红裳翠盖并蒂莲开。双双对对恩恩爱爱,这园风儿向着好花吹。柔情蜜意满人间。🎶 周璇 ⭐〈月圆花好〉 🎶Poetry in Chinese, is far deeper than English can possibly ever go. Chinese language,… here's a brief random Xah Edu Corner brief: Chinese language, is such that, not going with formality n all, but for ya American monolinguists to get a sense of Chinese, u can think of stringing together similar words that are on the ballpark of your meaning. And that's how Chinese is. In a sense, every phrase is a idiom. Note the word Every. So, when you study Chinese, you are actually study history. Chinese lang, is rather terrible for any science or engineering work. But for poetry, a english saying is that poetry is like honey, but in Chinese, it's like honey injected directly into your bloodstream.

JavaScript Web Development = No Documentation Hell

Heavy work on JavaScript tutorial in past month again. Hope you like it. Xah JavaScript Tutorial.there are lots JavaScript tutorials or blogs out there. Typically, they are either too basic, covering the syntax and not much else, often misleading info. Or, they are far advanced, blogging about latest ecma standard news or new libraries & frameworks for those who worked with JavaScript professionally for years.JavaScript is not like emacs lisp, where there is a nice juicy reference manual. JavaScript doesn't have any documentation (there's the spec〔ECMAScript Language Specification - ECMA-262 Edition 5.1〕, but written for implementers). Worse is that to write web apps, the DOM & BOM, again has no readable documentation. (BOM is entirely not documented)〔JavaScript: Browser's Window Object, What's Browser Object Model (BOM), Document Object Model (DOM)〕I hope my JavaScript tutorial gives a good help.for web development tips & tricks, subscribe Xah's Web Dev Blog. Than…