TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

A Different Way: Traits in PHP

15 点作者 lucasoman超过 15 年前

2 条评论

wvenable超过 15 年前
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 未加载
tkiley超过 15 年前
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 未加载