您最有争议的编程观点是什么? [英] What's your most controversial programming opinion?

查看:83
本文介绍了您最有争议的编程观点是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这绝对是主观的,但我想尽力避免它引起争论.我认为如果人们适当地对待它可能是一个有趣的问题.

This is definitely subjective, but I'd like to try to avoid it becoming argumentative. I think it could be an interesting question if people treat it appropriately.

这个问题的想法来自的答案:您最讨厌自己喜欢的语言有五件事?"问题.我认为默认情况下应该密封C#中的类-我不会将问题放在问题中,但我可能会写一个更完整的解释作为对此问题的答案.我对评论中的讨论热度感到惊讶(目前有25条评论).

The idea for this question came from the comment thread from my answer to the "What are five things you hate about your favorite language?" question. I contended that classes in C# should be sealed by default - I won't put my reasoning in the question, but I might write a fuller explanation as an answer to this question. I was surprised at the heat of the discussion in the comments (25 comments currently).

那么,持有哪些有争议的意见?我宁愿避免那种在没有足够基础的情况下最终变得相当虔诚的事情(例如,放置括号),但是示例可能包括诸如单元测试实际上并没有很大帮助"或公共领域真的可以"这样的事情.重要的是(无论如何对我而言)是您的观点背后有原因.

So, what contentious opinions do you hold? I'd rather avoid the kind of thing which ends up being pretty religious with relatively little basis (e.g. brace placing) but examples might include things like "unit testing isn't actually terribly helpful" or "public fields are okay really". The important thing (to me, anyway) is that you've got reasons behind your opinions.

请提出您的意见和理由-无论您是否同意,我都会鼓励人们投票支持有争议和有趣的意见.

Please present your opinion and reasoning - I would encourage people to vote for opinions which are well-argued and interesting, whether or not you happen to agree with them.

推荐答案

那些不会在业余时间编写代码来娱乐的程序员将永远不会像那些程序员那样出色.

我认为,即使最聪明,最有才华的人也不会成为真正的优秀程序员,除非他们将其视为一项工作.这意味着他们一边做一些小项目,要么在闲暇时就迷上了许多不同的语言和想法.

I think even the smartest and most talented people will never become truly good programmers unless they treat it as more than a job. Meaning that they do little projects on the side, or just mess with lots of different languages and ideas in their spare time.

(注意:我并不是说优秀的程序员除了编程之外什么也不做,但是他们比9到5的编程要多.)

(Note: I'm not saying good programmers do nothing else than programming, but they do more than program from 9 to 5)

这篇关于您最有争议的编程观点是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆