C ++最烦人的方面 [英] Most annoying aspects of C++

查看:62
本文介绍了C ++最烦人的方面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




大家好


我们都知道C ++是一种巧妙构思的多范式语言

牺牲的效率非常低,因为它提供了类型安全,封装和通用行为。


我想在这里问的是 - 人们最不喜欢的功能是什么?b
即:


- 使实施设计变得更加困难

- 介绍微妙的错误


- 强迫开发人员以反直觉的方式思考


- 管理软件项目更麻烦


- 使用或制作图书馆不方便


可能还有其他人。我不是在谈论语法这样的主观事物,而是更多地关注有形设计&软件工程问题。


Michael

_ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ /


_ / _ / _ / _ / _ / Hopkins Research Ltd

_ / _ / _ / _ /

_ / _ / _ / _ / _ / _ / _ / http://www.hopkins -research.com/

_ / _ / _ / _ /

_ / _ / _ / _ /''触摸未来''


_ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ /



Hi all

We all know that C++ is a cleverly conceived multi-paradigm language that
sacrifices very little in efficiency for what it delivers in terms of
type-safety, encapsulation and generic behaviour.

What I want to ask here is - what are the features that people most dislike
about it i.e. that:

- make it more difficult than necessary to implement designs

- introduce subtle bugs

- force the developer to think in counter-intuitive ways

- make managing a software project more troublesome

- make using or producing libraries inconvenient

There may be others. I am not talking about subjective things like syntax,
more concerned with tangible design & software engineering issues.

Michael
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

_/ _/ _/_/_/ Hopkins Research Ltd
_/ _/ _/ _/
_/_/_/_/ _/_/_/ http://www.hopkins-research.com/
_/ _/ _/ _/
_/ _/ _/ _/ ''touch the future''

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

推荐答案



Michael Hopkins写道:

Michael Hopkins wrote:
大家好

我们都知道C ++是一种巧妙构思的多范式语言
在类型安全性,封装性和通用行为方面所做的贡献非常少。

我想在这里问的是 - 有什么特点这是人们最不喜欢的地方,即:

- 使实施设计变得更加困难

- 引入微妙的错误

- 迫使开发人员以反直觉的方式思考

- 使管理软件项目更加麻烦

- 使用或制作库不方便

/>可能还有其他人。我不是在谈论语法这样的主观事物,而是更关注有形设计和软件工程问题。

$

_ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ /

_ / _ / _ / _ / _ / Hopkins Research Ltd
_ / _ / _ / _ /
_ / _ / _ / _ / _ / _ / _ / http://www.hopkins-research.com/
_ / _ / _ / _ /
_ / _ / _ / _ /''触摸未来''

_ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ / _ /
Hi all

We all know that C++ is a cleverly conceived multi-paradigm language that
sacrifices very little in efficiency for what it delivers in terms of
type-safety, encapsulation and generic behaviour.

What I want to ask here is - what are the features that people most dislike
about it i.e. that:

- make it more difficult than necessary to implement designs

- introduce subtle bugs

- force the developer to think in counter-intuitive ways

- make managing a software project more troublesome

- make using or producing libraries inconvenient

There may be others. I am not talking about subjective things like syntax,
more concerned with tangible design & software engineering issues.

Michael
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

_/ _/ _/_/_/ Hopkins Research Ltd
_/ _/ _/ _/
_/_/_/_/ _/_/_/ http://www.hopkins-research.com/
_/ _/ _/ _/
_/ _/ _/ _/ ''touch the future''

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/




可能是学习/掌握所需的''很长时间'。



one could be the ''long time'' it takes to learn/master .


Michael Hopkins写道,2006年6月15日8:43:
Michael Hopkins wrote, On 15.6.2006 8:43:

大家好

我们都知道C ++是一种巧妙构思的多范式语言,它在类型安全,封装方面牺牲了很少的效率我想问的是 - 人们最不喜欢的功能是什么呢?即:

- 让它更多实施设计难度超过

- 引入微妙的错误

- 强迫开发人员以反直觉的方式思考

- 管理软件项目更麻烦
我不认为其中任何一个都是真的。

- 使用或制作图书馆不方便
这个是有争议的。

可能还有其他人。我不是在谈论语法这样的主观事物,而是更关注有形设计和软件工程问题。

Michael

Hi all

We all know that C++ is a cleverly conceived multi-paradigm language that
sacrifices very little in efficiency for what it delivers in terms of
type-safety, encapsulation and generic behaviour.

What I want to ask here is - what are the features that people most dislike
about it i.e. that:

- make it more difficult than necessary to implement designs

- introduce subtle bugs

- force the developer to think in counter-intuitive ways

- make managing a software project more troublesome I don''t think that either of these is true.

- make using or producing libraries inconvenient This one is arguable.

There may be others. I am not talking about subjective things like syntax,
more concerned with tangible design & software engineering issues.

Michael




-

VH



--
VH


在文章< C0 **************************** @ hopkins-research.com> ;,

Michael Hopkins< mi ************* @ hopkins-research.com>写道:
In article <C0****************************@hopkins-research.com>,
Michael Hopkins <mi*************@hopkins-research.com> wrote:
大家好

我们都知道C ++是一种巧妙构思的多范式语言,它在效率上做出的贡献很少提供类型安全,封装和通用行为。

我想在这里问的是 - 人们最不喜欢的功能是什么,即:

- 使实现设计变得更加困难

- 引入微妙的错误

- 强迫开发人员以反直觉的方式思考<使管理软件项目更加麻烦

- 使用或制作图书馆不方便

可能还有其他人。我不是在谈论语法这样的主观事物,而是更关注有形设计和软件工程问题。
Hi all

We all know that C++ is a cleverly conceived multi-paradigm language that
sacrifices very little in efficiency for what it delivers in terms of
type-safety, encapsulation and generic behaviour.

What I want to ask here is - what are the features that people most dislike
about it i.e. that:

- make it more difficult than necessary to implement designs

- introduce subtle bugs

- force the developer to think in counter-intuitive ways

- make managing a software project more troublesome

- make using or producing libraries inconvenient

There may be others. I am not talking about subjective things like syntax,
more concerned with tangible design & software engineering issues.




这就是火焰战争的主要原因。你问的是那些最喜欢语言的人...: - )


功能我最不喜欢的是野性指针。事实上,他们可以创建

,并且没有语言设施来跟踪他们

down。



This has the makings of a flame war. You are asking the people who love
the language most to dis it... :-)

The "feature" I most dislike is wild pointers. The fact that they can be
created, and the fact that there is no language facility to track them
down.


这篇关于C ++最烦人的方面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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