User talk:Jhuni: Difference between revisions

no edit summary
(Wecome)
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1:
{{User:Short Circuit/new user greeting}} Also, I saw your journal entry over at PerlMonks, and I appreciate your creating an account; it takes more to fix than to criticize. --[[User:Short Circuit|Michael Mol]] 16:36, 21 March 2010 (UTC)
 
== Please summarize edits ==
 
Just a little note: when editing, it's polite to include '''something''' in the summary that says what you've done -- for example, if you add a new solution to a task, it's nice to put something like "added ''language''" in the summary so that others can see what you've done.
 
Sorry if this comes across as a bit brusque; I just can't think of a better way to phrase it. Here, I'll include a smiley face: :-) -- [[User:Eriksiers|Eriksiers]] 20:00, 30 March 2010 (UTC)
 
== Is [[JavaScript]] functional? ==
 
You wrote in a commit log message:
:“JavaScript is not a functional language because it does not have pure functions, immutable data structures, a type system, or good parameter-handling features. It has lambdas but so does VB 9.”
However you then proceeded to mark [[D]] as being functional despite that not having pure functions or consistently immutable data structures either. (The points about a type system are arguable — that's better handled on a different characterization axis IMO — and if you're going to argue that parameter handling is the marker of a functional language then I'll mock you mercilessly.) As such, you're being inconsistent; whether or not a language is in a category has got to be distinct from whether or not you approve of it. For the record, I think that JavaScript probably belongs in a similar category to [[Lisp]] or [[Scheme]]; it's only the syntax and the libraries that are really all that different. –[[User:Dkf|Donal Fellows]] 15:50, 31 December 2010 (UTC)
 
== [[JavaScript]] and [[D]] functional programming ==
 
You are wrong about D it can enforce functional purity and it has immutable data structures:
 
[[JavaScript]]
[[D]]
Anonymous user