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.

I want you to give up programming

4 pointsby gclaramuntalmost 10 years ago

3 comments

vezzy-fnordalmost 10 years ago
The ambiguous revulsion of object orientation is the hallmark of the inexperienced functional programmer.
评论 #9853949 未加载
dalkealmost 10 years ago
&quot;Look at your IDE. Look at the menus and buttons and hierarchical whatchamacallits and text-filled panes.&quot;<p>I use emacs. Without menu and buttons etc. Guess it&#x27;s not talking about me.<p>&quot;hands up anyone who wouldn’t claim to be an expert in object-orientation!&quot;<p><i>raises hand</i>. Yes, not talking about me.<p>&quot;So, I’m asking you to give up programming – or at least everything you have learned about programming and believe is true. I want you to give functions a go.&quot;<p>That&#x27;s a bit of a typo - functions are also part of imperative languages. Fortran has functions but is not a functional language.
评论 #9853300 未加载
LoSboccaccalmost 10 years ago
First mistake of functional programmers approaching oo: thinking it&#x27;s about the objects.<p>It&#x27;s mostly about decomposition and message passing. If one fixates on mapping reality on objects they are in for a bag of hurt.<p>And what&#x27;s message passing if not functions? But that doesn&#x27;t make it functional programming. The method of decomposing problems and composing code to build solutions is the key.