64 karma · joined April 27, 2014
Wow, that's a subtle, almost unnoticeable promotion of MailChinp. /s
On the other side of the spectrum, type systems get stronger and more powerful. Read about dependent typing in Idris, F*. Also, nearly all academic work focuses on improved type systems.
How is that for an outrage over an outrage? :)
If you care so much about the poor, you might as well subsidize a MOOC for them, instead of demanding Coursera to do so.
Expecting a service without giving anything in return is the definition of "greedy".
The hatred towards for-profit companies is childish. Why would you expect anyone to build games for you for free?
C# has functional capabilities as well. People write in it nowadays in a whole lot of different styles, including procedural, OO, functional, reactive.
Yes, the average developer uses it in an OO style, but it can do a lot more.
You can benefit immoderately from compiling your existing codebase in TS; you'll probably discover some bugs, even before adding any annotations.
What about complex predicates (and, or)?
The language seems rather limited.
It appears that the correct way is to create a .fsi file.
A few examples: https://github.com/FStarLang/FStar/blob/4e4162f736195b2031ba...
https://github.com/FStarLang/FStar/blob/4e4162f736195b2031ba...
https://github.com/FStarLang/FStar/blob/4e4162f736195b2031ba...
https://github.com/FStarLang/FStar/blob/4e4162f736195b2031ba...
https://github.com/FStarLang/FStar/blob/4e4162f736195b2031ba...
They usually contain thousands of items from different plugins, designers, etc. Sorting through them all is impractical.
Errors are not just about protecting a developer from himself, but more importantly, protecting developers in a team from one another.
If the compiler can't produce an error, the whole feature is pointless.
No decent IDE/debugging story though, so overall C# still wins for me at the moment. Especially for large projects.
http://www.telerik.com/blogs/understanding-net-just-in-time-...
For me, the real value is composition flexibility.
...This is not trivial to do with Haskell’s type system because one wants multiplication to “multiply the units” as well as the numbers."
F# supports units: https://msdn.microsoft.com/en-us/library/dd233243.aspx
In WF it's very hard & tedious.
Any non-standard control requires GDI+ rendering, which is not very maintainable. WPF offers a far superior composition ability.
JavaScript:
var blah = function(){ return "im a function"};
C# 3.0: var blah = delegate { return "im a function"; };
C# 2.0: Func<string> blah = delegate { return "im a function"; };Why does it matter if it's open or closed-source? It's not like you can realistically invest time to dig in the source code and modify it, in the rare case that you found a problem. C# had huge amounts of money invested on it, probably more than your entire project you were planning.
Q.E.D.