Re:The new Microsoft Edge is out of preview
by goto11 on Friday January 17, 2020 @04:41AM
(#22073277)
You are right about having to create a class to hold a function, that is annoying. But C# do support nested functions and closures. I don't really understand your other points. A literal 0.25 in C# will be parsed as a double precision. If you want it to be a float (less precision) you use the F postfix. But JavaScript doesn't even have the float/double distinction.
[ Parent
| on HN ]
There are no comments on this comment yet.