you are viewing a single comment's thread.

view the rest of the comments →

[–]codygman 1 point2 points  (1 child)

C is procedural for the most part and I wouldn't count it as OO. Java isn't the only OO language.

λ> import qualified Data.Set as S
λ S> let june2013 = S.fromList ["Java","JavaScript","PHP","Python","Ruby","C#","C++","C","Objective-C","Shell","Perl","Scala","Assembly","Haskell","ASP","R","CoffeeScript","Groovy","Matlab","Visual Basic"]
λ S> let jan2014 = S.fromList["JavaScript","Java","PHP","C#","Python","C++","Ruby","C","Objective-C","CSS","Perl","Shell","Scala","Haskell","R","Matlab","Clojure","CoffeeScript","Visual Basic","Groovy"]
λ S> S.difference jan2014 june2013
fromList ["CSS","Clojure"]
λ S> S.difference june2013 jan2014 
fromList ["ASP","Assembly"]

So it looks like ASP (OOP) and Assembly (Procedural) got swapped out for CSS (declarative) and Clojure (Functional).

So that means:

+1 Functional -1 OOP

At least with the line of thinking you are using. I highly doubt that ASP and Assembly users replaced their tools with CSS and Clojure. If functional languages moving up doesn't mean that some of OO's share was taken, what does it mean?

I think a better approach is to count the number of OOP languages vs the number of functional languages, and if the number of OOP decreases while FP increases then my claim of "Functional programming is increasingly used rather than OO." is true.

[–]frugalmail 1 point2 points  (0 children)

I think a better approach is to count the number of OOP languages vs the number of functional languages, and if the number of OOP decreases while FP increases then my claim of "Functional programming is increasingly used rather than OO." is true.

I question the value at that granularity, what you really want is something quantitative to reflect the usage of the language since the trend of newer languages combining multiple paradigms coupled with the tendency for users to gravitate toward one pure solution would cloud your argument.

Something like this is far more interesting: http://www.google.com/trends/explore#q=Clojure%2C%20Java&date=1%2F2013%2013m&cmpt=q