dupdup
dupdup

Reputation: 772

Scala isn’t called a “functional language” just because it’s Turing complete

What is the meaning of "Scala isn’t called a “functional language” just because it’s Turing complete." ? Functional languages are like others Turing comlete arent they? or lack of my english? http://www.codecommit.com/blog/scala/scala-for-java-refugees-part-3

Upvotes: 2

Views: 178

Answers (1)

Chuck
Chuck

Reputation: 237010

I think the sentence structure has confused you. He isn't saying, "Just because it's Turing-complete, it isn't a functional language."

Instead, he's saying, "The term 'functional' does not mean 'Turing-complete'." In everyday English used by people who aren't programmers, when we say something is "functional," we mean "it works and is useful." Because of this, a lot of people misunderstand the term "functional" as meaning "useful" rather than "based around functions," so he's clarifying that this is not the sense in which the word is being used.

Upvotes: 4

Related Questions