TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Are static typing and functional programming winning?

5 pointsby brikis98over 10 years ago

1 comment

AnimalMuppetover 10 years ago
Define &quot;winning&quot;.<p>Most new languages contain a type system. Is that &quot;winning&quot;? It means that the idea of type checking has achieved &quot;flavor of the month&quot; status, but it doesn&#x27;t mean much more... yet. If some of those languages go on to take over the world, then yes, the fact that they have type checking means that static typing is winning.<p>And, define &quot;static typing&quot; and &quot;functional programming&quot;. So C++ added some elements of functional programming. Does that make C++ a functional programming language? Or does it just make C++ a multi-paradigm language that can be used to do some amount of functional programming?<p>I claim that &quot;winning&quot; doesn&#x27;t mean winning in the number of check boxes that languages tick. It means winning in the way the languages are used. If everyone who is programming in C++ starts programming in the functional style, then yes, functional programming is winning. If they don&#x27;t, then having C++ support functional programming just means they added another paradigm that few people are using.
评论 #9011894 未加载