TypeScript: a language for application-scale JavaScript development
21–30 of 316 posts
Re: TypeScript: a language for application-scale JavaScript development
#22Re: TypeScript: a language for application-scale JavaScript development
#23I've written a lot of JavaScript, including large-scale projects, and never once have thought, "Gee, I wish I had type checking." Haven't we come to a consensus that types are more trouble than they're worth? They hurt clarity and catch few bugs.
Re: TypeScript: a language for application-scale JavaScript development
#24Re: TypeScript: a language for application-scale JavaScript development
#25Re: TypeScript: a language for application-scale JavaScript development
#26It'd be 100% more useful if it was more aware of nullable types -- as it is, it appears that
null * 7
compiles without any error messages. If they add a "nullable number" type distinct from "number", I'll be a lot more likely to use it.It also appears that some other things compile that perhaps shouldn't, such as
7[2]
and 7["a"]
even though (7).a is equivalent and (correctly) fails to compile.Re: TypeScript: a language for application-scale JavaScript development
#27I've written a lot of JavaScript, including large-scale projects, and never once have thought, "Gee, I wish I had type checking." Haven't we come to a consensus that types are more trouble than they're worth? They hurt clarity and catch few bugs.
Re: TypeScript: a language for application-scale JavaScript development
#28Re: TypeScript: a language for application-scale JavaScript development
#29Back in the day, Microsoft would use a strategy called "embrace, extend, extinguish." http://en.wikipedia.org/wiki/Embrace,_extend_and_extinguish Recently, Microsoft has been pushing Javascript very hard (embrace) and now it looks like they've started the "extend" phase. Luckily, no one really worries about them being able to pull off the "extinguish" part anymore... they just don't have enough market power these day…
Re: TypeScript: a language for application-scale JavaScript development
#30Back in the day, Microsoft would use a strategy called "embrace, extend, extinguish." http://en.wikipedia.org/wiki/Embrace,_extend_and_extinguish Recently, Microsoft has been pushing Javascript very hard (embrace) and now it looks like they've started the "extend" phase. Luckily, no one really worries about them being able to pull off the "extinguish" part anymore... they just don't have enough market power these day…