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.

A Different Way: Traits in PHP

15 pointsby lucasomanover 15 years ago

2 comments

wvenableover 15 years ago
Perhaps if you need traits, you're doing it wrong. Does PHP really need all the added complexity of this? Does it really help solve the problem or did you just add a new maintenance nightmare?
评论 #845818 未加载
评论 #844003 未加载
评论 #844006 未加载
tkileyover 15 years ago
This article has spent an hour or two on the front page with no discussion. I've always wondered what that means; perhaps in this situation, it means that YC's active commenters aren't active PHP developers?<p>Regardless, I think this is a pretty cool idea. It seems like a lot of effort to emulate what's (arguably) a missing language feature, but for those of us who are stuck in PHP for one reason or another, it's an interesting development.
评论 #843857 未加载
评论 #843882 未加载