C相关,但不是C问题.. [英] C related, but not a C question..

查看:64
本文介绍了C相关,但不是C问题..的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我最近查看了topcoder.com,了解最新的炒作

是什么(因为我一直在听NPR的采访)。

显然,它是一个小组网站,他们举办编程比赛,

等,为特定任务提供最佳解决方案(可能已经养成了b
$ b) topcoder通过另一家公司)。基于算法,​​设计等等,我正在环顾这场比赛

我正在努力

弄清楚好吧,哪里有语言选择并最终来到

,发现它只有99%的C ++,Java或C#。所以有点恼火,我有点b $ b来问为什么C没有代表..查看一般的派对行,以了解他们对C的看法:
http://forums.topcoder.com/ ?module = T ... 513334& start = 0


让所有人都自豪地写下不酷,旧的,遗产的东西。代码因为

显然我们很难找到。

解决方案

clayne说:


让所有人都自豪地写下不酷,旧的,遗产的东西。代码



传统代码,n。 (pej。):用一种语言写的代码,而不是发言者首选的那种语言。


因为显然我们是' ;很难找到。



你似乎没有遇到任何麻烦。


-

理查德Heathfield

Usenet是一个奇怪的地方 - dmr 29/7/1999
http://www.cpax.org.uk

电子邮件:rjh在上面的域名(但显然放弃了www)


Richard Heathfield写道:
< blockquote class =post_quotes>
Legacy code,n。 (pej。):使用某种语言编写的代码,而不是发言者首选的那种语言。



Hah。


因为显然我们是很难找到。



你似乎没有遇到任何麻烦。



关于?

有一件事,在工作中,我实际上被告知不要在C中写东西
(实际上它是最适合它的语言[Solaris内存

统计数据等])而是用Perl写它,因为它需要

其他人比Perl更了解它(即使我们的开发人员知道C / C ++)。是的,让我们使用一个更糟糕的工具来完成任务,因为

其他人都带着相同的蹩脚工具。有点像

用管钳安装门把手,因为所有人都知道






clayne写道:


Richard Heathfield写道:


传统代码,n。 (pej。):使用某种语言编写的代码,而不是发言者首选的那种语言。



Hah。


因为显然我们是很难找到。



你似乎没有遇到任何麻烦。



关于?

有一件事,在工作中,我实际上被告知不要在C中写东西
(实际上它是最适合它的语言[Solaris内存

统计数据等])而是用Perl写它,因为它需要

其他人比Perl更了解它(即使我们的开发人员知道C / C ++)。是的,让我们使用一个更糟糕的工具来完成任务,因为

其他人都带着相同的蹩脚工具。有点像

用管扳手安装门把手,因为这是所有人都知道的b $ b。



很难。它更像是使用插槽螺丝安装门把手

而不是菲利普斯螺丝,所以即使是没有十字螺丝刀的人

也可以在门上工作。确实,菲利普斯螺丝更好,但它也是真的,更多的人可以获得一些东西可以用来转动螺丝钉而不是十字螺钉。是否应该使用

槽或十字螺丝取决于很多东西,

但是使用槽螺丝并不是一种先天的傻瓜。

- William Hughes


So I was recently checking out topcoder.com to see what the latest hype
is all about (as I had been listening to an interview on NPR).
Apparently it''s a group site where they hold programming competitions,
etc. to come up with the best solutions for a given task (that may have
been farmed out to topcoder via another company). I''m looking around at
the contests, based on algorithms, design, etc. and I''m trying to
figure out "okay, where''s the language choices" and eventually come to
figure out that it''s 99% C++, Java, or C# only. So a bit miffed I had
to ask why C was not represented.. Check out the general party line to
their perceptions of C:

http://forums.topcoder.com/?module=T...513334&start=0

Let''s all be proud to be writing in uncool, old, "legacy" code because
apparently we''re "hard to find."

解决方案

clayne said:

Let''s all be proud to be writing in uncool, old, "legacy" code

Legacy code, n. (pej.): code written in some language other than the one
preferred by the speaker.

because apparently we''re "hard to find."

You didn''t seem to have any trouble.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)


Richard Heathfield wrote:

Legacy code, n. (pej.): code written in some language other than the one
preferred by the speaker.

Hah.

because apparently we''re "hard to find."


You didn''t seem to have any trouble.

In regards to?
One thing, at work, I''ve actually been told to not write something in C
(that was actually the most appropriate language for it [Solaris memory
statistics, etc.]) and instead write it in Perl, since it would require
others to know more than Perl to support it (even though our developers
al know C/C++). Right, let''s use a crappier tool for the task because
everyone else carries the same crappy tools around. Kind of like
installing a door handle with a pipe wrench because that''s all one has
ever known.



clayne wrote:

Richard Heathfield wrote:

Legacy code, n. (pej.): code written in some language other than the one
preferred by the speaker.


Hah.

because apparently we''re "hard to find."

You didn''t seem to have any trouble.


In regards to?
One thing, at work, I''ve actually been told to not write something in C
(that was actually the most appropriate language for it [Solaris memory
statistics, etc.]) and instead write it in Perl, since it would require
others to know more than Perl to support it (even though our developers
al know C/C++). Right, let''s use a crappier tool for the task because
everyone else carries the same crappy tools around. Kind of like
installing a door handle with a pipe wrench because that''s all one has
ever known.

Hardly. It''s more like installing a door handle using slot screws
rather
than phillips screws, so even people without a phillips screwdriver
can work on the door. True, phillips screws are better, but it is
also true that more people have access to something that can be
used to turn slot screws than phillips screws. Whether or not
slot or phillips screws should be used depends on a lot of things,
but using slot screws is not a priori silly.

- William Hughes


这篇关于C相关,但不是C问题..的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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