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.

Erlang Tic Tac Toe

2 pointsby necrodomeover 12 years ago

2 comments

zoowarover 12 years ago
I would rather see an APL video <a href="https://www.youtube.com/watch?v=DmT80OseAGs" rel="nofollow">https://www.youtube.com/watch?v=DmT80OseAGs</a>
RodgerTheGreatover 12 years ago
This is a cute trick, but using pattern-matching in this way means that the amount of code you write to solve a problem grows geometrically (or worse!) as the problem size scales up. The Tic Tac Toe game presented in its entirety is quite long, and for any nontrivial variation it would be terrifying.