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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Objective-C in 2015

22 点作者 numo16将近 10 年前

2 条评论

sebhack将近 10 年前
&gt; Now with Swift quickly winning over my ever affectionate engineer heart, I still find myself enjoying my time in Objective-C.<p>I feel similar when it comes to Objective-C programming. Although the language is quite ugly and I wouldn&#x27;t recommend it to anyone (of course nowadays you should use Swift instead!), I still enjoy programming in Objective-C because I&#x27;m fluent with it and I&#x27;m familiar with the gotchas.<p>Surprisingly this is also the case with JavaScript and PHP. Both popular languages (actually industry standard for webdevs) I know by heart and enjoy using, but at the same time ugly and infamous for their design flaws.<p>Swift seems to be a well designed language and I&#x27;m really curious if and how it will be adopted outside the Apple ecosystem now that it has been announced open source. Maybe in a few years, I&#x27;ll be using Swift not only for Apple development but also for web development and shell scripting. Although I guess Swift programming would feel quite different in other environments because you may have to use other frameworks. But why use several languages if you have one that works for everything.
评论 #9833382 未加载
jonsterling将近 10 年前
Bizarre that this fellow grimaces at &quot;type erasure&quot;. That&#x27;s the correct way to polymorphism!