提高C的效率

扫码查看
jacobWell I can''t use it Mike.Just too complex.Default instantiated template traits?No thanks. Just characters. What I like of C is that it is not"object oriented".It is not oriented at all. It is the programmer that putsthe orientation of the program.C++ has good ideas, but the complexity of the whole isso staggering, that actually it is a reminder where that leads,not knowing when to stop.The crux of the matter is knowing when to stop. When a featurebecomes a nuisance, and doesn''t simplify the task it is betterto drop it.Syntactic sugar can lead to caries in the teeths. I said I likea *bit* of sugar. Not five spoonfuls you see?I want a bit of sugar in my coffee and not some coffee in mysugar.jacob 无论如何。 太复杂了。 你不需要全部使用它。你似乎想要一个真正的字符串类型,这是C ++所拥有的,并且它不是很难使用的b $ b。实际上,如果需要这样一种类型 ,那么这就是使用C ++ 的足够理由(即使其他一切只是常见的子集)这两种语言的。 默认的实例化模板特征? 所以不要使用''em。 不,谢谢。只是人物。我喜欢C的是它不是面向对象的。 C ++不需要OO设计。这是一个非常常见的误解。 它根本不是面向的。程序员将程序的方向放在一边。 对。这就是为什么我发现C ++对很多东西很有用。 (以及C以及其他语言)。 C ++有很好的想法,但是复杂性很高整体是如此惊人,实际上这是一个提醒,导致,不知道何时停止。 我使用我认为有用的部件,丢弃其余部分。 问题的关键是知道何时停止。当一个功能变得令人讨厌,并且没有简化任务时,最好放弃它。 或者忽略它。简单,呵呵? 句法糖会导致牙齿龋齿。我说我喜欢一点*糖。你看到的不是五勺吗? 听说过自律吗?任何事情都可能被滥用。 我想喝点咖啡加糖,而不是加糖咖啡。Whatever. Just too complex.You needn''t use all of it. You seem to be wantinga ''real'' string type, which C++ has, and it''s notat all difficult to use. Actually, if such a typeis needed, imo that''s a good enough reason to use C++(even if everything else is only the common subsetof the two languages). Default instantiated template traits?So don''t use ''em. No thanks. Just characters. What I like of C is that it is not "object oriented".C++ does not require OO design. This is a very common misconception. It is not oriented at all. It is the programmer that puts the orientation of the program.Right. Which is why I find C++ useful for very many things.(and C as well, and other languages too). C++ has good ideas, but the complexity of the whole is so staggering, that actually it is a reminder where that leads, not knowing when to stop.I use the parts I find useful, discard the rest. The crux of the matter is knowing when to stop. When a feature becomes a nuisance, and doesn''t simplify the task it is better to drop it.Or ignore it. Simple, huh? Syntactic sugar can lead to caries in the teeths. I said I like a *bit* of sugar. Not five spoonfuls you see?Ever hear of self-discipline? Anything can be abused. I want a bit of sugar in my coffee and not some coffee in my sugar. 谁能掌握勺子,你或其他人? :-) 我现在就停止了,我不想被指责语言 在一个小组中宣传另一种语言。 (虽然这可能太晚了,但是很可能太晚了:-)) -MikeWho''s got control of the spoon, you or someone else? :-)I''ll stop now, I don''t want to be accused of languageadvocacy in a group about a different language. (It''sprobably too late, though :-))-Mike 这篇关于提高C的效率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
05-27 18:29
查看更多