User talk:Jhuni

From Rosetta Code
Revision as of 01:07, 1 January 2011 by rosettacode>Jhuni
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Latest comment: 13 years ago by Dkf in topic Is JavaScript functional?

Welcome to Rosetta Code! I'm Mike, and I noticed you created an account.

Some quick things you should be aware of:

Template:Mylang Helps you show what languages you're familiar with, and helps us become aware of skills with languages we haven't seen.
Category:Unimplemented tasks by language A place to find tasks missing solutions in various languages.
Blogs, twitter, facebook... We have them, and are interested in yours.
Special:Webchat Logs you into #rosettacode on the Freenode IRC channel. Not usually the most active communications medium, but occasionally helpful. It's logged at http://irclog.perlgeek.de/rosettacode/today.
Rosetta Code:Village Pump A general Q/A and discussion area.
Rosetta Code:Finances For most of Rosetta Code's history, expenses have been paid out of my pocket. I can't afford that much longer, and so you can see the state of Rosetta Code's finances, and how you may help. If you enjoy or are excited about the site, please consider reading through it.

Sorry for the boilerplate; it can be a bit difficult giving an individual greeting to each person. If you post information about your technical interests and background, I'll probably read it. If you already have put that kind of information on your user page, I probably already have; I'm always interested in how people do and can benefit from Rosetta Code. Also, I saw your journal entry over at PerlMonks, and I appreciate your creating an account; it takes more to fix than to criticize. --Michael Mol 16:36, 21 March 2010 (UTC)Reply[reply]

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: :-) -- Eriksiers 20:00, 30 March 2010 (UTC)Reply[reply]

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. –Donal Fellows 15:50, 31 December 2010 (UTC)Reply[reply]

JavaScript and D functional programming

You are wrong about D it can enforce functional purity and it has immutable data structures:

JavaScript D