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.

Using Haskell’s ‘newtype’ in C

27 pointsby woobyover 14 years ago

1 comment

jrockwayover 14 years ago
Yes, very nice. What I've learned about C recently is that while the default language and standard library has no type safety and is generally horrible, it has all the tools you need to build something that is type safe and not horrible. And, most of the time, it doesn't even incur a speed hit.<p>Now I just need to teach the people writing 99% of the C programs I encounter to not do it so horribly :)
评论 #2130442 未加载