Reputation
409
Top tag
Next privilege 500 Rep.
Access review queues
Badges
3 5
Newest
 Critic
Impact
~2k people reached

  • 0 posts edited
  • 0 helpful flags
  • 18 votes cast
1d
comment How do people get rid of conditional branches in Functional Programming?
RE: point 3: I read "there is one" as "only one". So fair enough. RE: OO: Java does not dispatch on runtime values. So by your definition it's not OO. Haskell has type dispatch, so by your definition it is OO. Besides dispatch is only one facet of OO. State management is another major factor. Either way, I'm not sure a discussion of what is or isn't OO is relevant to the question. So you could certainly just remove any judgement calls about it.
Jul
30
comment How do people get rid of conditional branches in Functional Programming?
1) Clojure is not object oriented by any sense of the word that I know. If you believe otherwise, you should state your reasoning in the answer. 2) Clojure does not support inheritance in the OO sense of the word. You can ape it like so: gist.github.com/david-mcneil/661983, but I would not call the ability to merge dispatch maps an inheritance scheme. 3) It's a rather bold statement to say that Haskell is the only language that does not have inheritance. I also believe it to be incorrect. If you believe otherwise, you should state your reasoning in your answer.
Aug
11
awarded  Critic
Apr
23
awarded  Yearling
Apr
23
awarded  Yearling
Apr
23
awarded  Supporter
Apr
23
awarded  Mortarboard
Apr
23
awarded  Good Answer
Apr
23
awarded  Teacher
Apr
23
awarded  Nice Answer
Apr
22
answered Should I use a code repository if I am the only one working on a project?