问题描述
编写C代码非常简单,一位与我的工作相关的人说。我不确定他是否是专家。他所说的C
这样的编程不能说服我。我认为应该有两个人可以对C编程做出这样的评论。一个是C $ / $
专家,在实际项目上有丰富的经验;另一个
是C编程的机会主义愚蠢。
您如何看待C编程?写C代码是艺术吗?
想想你的消息和意见。
用任何值得写的语言编写代码都是一种艺术。
-
Christopher Benson-Manica |我*应该*知道我在说什么 - 如果我
ataru(at)cyberspace.org |不,我需要知道。火焰欢迎。
编写代码的行为很简单。让它正常工作是
硬点。
C有一个浅但长的学习曲线;您几乎可以立即开始编写有用的
代码,但真正掌握
语言需要很长时间。有很多怪癖和特殊情况和事物看起来很明显,但实际上你不一定要学习。 C可以
令人沮丧地微妙的一刻,然后只是明显的大脑损坏了
。
我不会说编写C代码比使用任何其他语言编写代码更加困难。然而,我的大部分经验是在较旧的时候(C,Fortran,Ada等),所以请用适当剂量的
盐。
`Writing C code is very simple'', one guy related to my work said.
I''m not sure whether he is an expert or not. What he said about C
programming like this can''t convince me. I think there should be two
kinds of people can make such a comment on C programming. One is C
expert with rich experiences of some years on real projects; The other
is opportunist idiocy of C programming.
What do you think of C programming? Is writing C code an art?
Thinks for your messages and opinion.
Writing code in any language worth writing in is an art.
--
Christopher Benson-Manica | I *should* know what I''m talking about - if I
ataru(at)cyberspace.org | don''t, I need to know. Flames welcome.
The act of writing code is simple. Getting it to work right is the
hard bit.
C has a shallow but long learning curve; you can start writing useful
code almost immediately, but it takes a long time to truly master the
language. There are a lot of quirks and special cases and things that
seem obvious but really aren''t that you have to learn over time. C can
be frustratingly subtle one moment and just plain brain-damaged the
next.
I wouldn''t say it''s qualitatively more difficult to write C code than
any other language. However, the bulk of my experience is in older
3GLs (C, Fortran, Ada, etc.), so take that with the appropriate dose of
salt.
这篇关于编写C代码非常简单吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!