回复:实验:C中的功能概念 [英] Re: Experiment: functional concepts in C

查看:95
本文介绍了回复:实验:C中的功能概念的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

11月17日下午1:43,Ertugrul S?ylemez< e ... @ ertes.dewrote:

On Nov 17, 1:43 pm, Ertugrul S?ylemez <e...@ertes.dewrote:


你好,


我认为尝试将功能概念纳入

C语言会很有趣。如果有人有兴趣,我已将结果发布在我的

博客[1]上。


[1] http://blog.ertes.de/2008/11/obscure ... rspective.html



你的博客条目以
开头

Well your blog entry starts with


C可能是最无趣的编程语言世界。
C is probably the most uninteresting programming language in the world.



这是不真实的,也是一篇不好的发表文章的方式。


在你的代码中进一步阅读

< http://ertes.de/cfact/cfact1.c>


似乎你想混淆你的代码,因为你有像
这样的东西

which is untrue and a bad way to start an article.

Reading further, in your code
<http://ertes.de/cfact/cfact1.c>

It seems you want to obfuscate your code, since you have things like


puts(" _Expecting one argument.\0Invalid integer。" + jv); / * vippstar:jv是setjmp的返回值* /
puts("_Expecting one argument.\0Invalid integer." + jv); /* vippstar: jv is return value of setjmp */



第34行返回0以外的值,EXIT_SUCCESS和

EXIT_FAILURE,这不需要有意义。


其他3个源文件(cfact [2,3,4] .c)不是标准C.

Line 34 you return a value other than 0, EXIT_SUCCESS and
EXIT_FAILURE, which doesn''t need to be meaningful.

The other 3 source files (cfact[2,3,4].c) are not standard C.

推荐答案

vi******@gmail.com 写道:

11月17日下午1:43,Ertugrul S?ylemez< e ... @ ertes.dewrote:
On Nov 17, 1:43 pm, Ertugrul S?ylemez <e...@ertes.dewrote:


在您的代码中进一步阅读

< http://ertes.de/cfact/cfact1.c>


似乎你想混淆你的代码,因为你有像
Reading further, in your code
<http://ertes.de/cfact/cfact1.c>

It seems you want to obfuscate your code, since you have things like

> puts(_Expecting one argument.\0InInvalid integer。 ; + jv); / *
vippstar:jv是setjmp的返回值* /
>puts("_Expecting one argument.\0Invalid integer." + jv); /*
vippstar: jv is return value of setjmp */



我看看OP是否确实放入了仅为您的

福利发表评论。他没有。


-

Bartc


I had a look to see if the OP had really put in the comment just for your
benefit. He hadn''t.

--
Bartc


11月17,下午5:36,Ertugrul S?ylemez< e ... @ ertes.dewrote:
On Nov 17, 5:36 pm, Ertugrul S?ylemez <e...@ertes.dewrote:

vipps ... @ gmail.com写道:
vipps...@gmail.com wrote:

在你的代码中进一步阅读

< http://ertes.de/cfact/cfact1.c>
Reading further, in your code
<http://ertes.de/cfact/cfact1.c>


似乎你想混淆你的代码,因为你有像
It seems you want to obfuscate your code, since you have things like

这样的东西

puts(" _Expecting one argument.\0Invalid integer。" + jv); / *

vippstar:jv是setjmp的返回值* /
puts("_Expecting one argument.\0Invalid integer." + jv); /*
vippstar: jv is return value of setjmp */



是的,第一个版本确实只是个搞笑事情,开始吧

全部。我对结果不满意,因为你提到的是b $ b。


后三个版本,那些不是标准C的版本,是更多

有趣。他们实现了一些东西,这在函数式语言中是完全自然的,但它将命令式语言变成了一个可理解性的语言,而不需要人为地混淆代码

喜欢第一个版本。我很乐意用标准的C,

实现它们,但正如另一篇文章和博客中所述,这几乎是不可能的。


Yes, the first version was indeed just a funny thing, which started it
all. I''m not happy with the result though, because of what you
mentioned.

The latter three versions, those which are not standard C, are more
interesting. They implement something, which is totally natural in
functional languages, but which turns an imperative language into a
comprehensibility hell, without needing to artifically obfuscate code
like in the first version. I''d love to implement them in standard C,
but as said in another post and in the blog, that was almost impossible.



我提到其他三个来源不是标准C的原因是

因为我没有对它们发表评论。

如果是关于新C功能的讨论/提议,comp.lang.c不是

正确的新闻组。 (comp.std.c会更好)

最多,您的原始邮件归类为垃圾邮件。此外,只需在usenet上发布您的文章,而不是提供网络链接的
,通常会更好。


The reason I mentioned the other three sources are not standard C is
because I did not comment on them.
If it''s discussion/proposal for new C features, comp.lang.c is not the
right newsgroup. (comp.std.c would be better)
At most, your original message classifies as spam. Moreover, it''s
usually better to just publish your article on usenet instead of
providing a web link.


vi******@gmail.com 写道:
vi******@gmail.com writes:

11月17日下午1:43,Ertugrul S ?? ylemez< e ... @ ertes.dewrote:
On Nov 17, 1:43 pm, Ertugrul S??ylemez <e...@ertes.dewrote:

> Hello人们,

我认为尝试将功能概念引入到C语言中会很有趣。如果有人有兴趣,我已将结果发布在我的博客[1]上。

[1] http://blog.ertes.de/2008/11/obscure...rspective.html



那么你的博客条目以
开头


Well your blog entry starts with


> C可能是世界上最无趣的编程语言。
>C is probably the most uninteresting programming language in the world.



这是不真实的,也是一篇不好的文章。


which is untrue and a bad way to start an article.



您通过省略从属条款并将主要条款作为自己的句子而错误地引用了OP。对于那些懒得阅读这篇文章的人来说,原文是




C可能是<无趣的编程语言之一<从语言理论的角度来看,世界是* *"

You have misquoted the OP by omitting the subordinate clause and making
the main clause a sentence standing on its own. The original text is,
for those who are too lazy to read the article,

"C is probably one of the most uninteresting programming languages in
the world, *from a language theory standpoint.*"


这篇关于回复:实验:C中的功能概念的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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