PASCAL programs tend to be more reliable
than C programs primarily because of PASCAL's
strong typing. They also, because of
PASCAL's richer set of data types, tend to
be more readable and portable than C programs.
However, C, because of its flexibility
and lack of restrictions, can be used in a
larger variety of programming domains
than PASCAL.
The weaknesses of both languages have
been recognized. PASCAL has been
adapted for wider use by extending it, and
C has been moving toward better program
reliability and error detection through
stronger typing (as evidenced by the Portable
C Compiler3).
这上下两段说的是不是相反啊,我英语差
我翻译的是
例如第一段第一句是 Pascal程序往往比C程序更可靠主要是因为Pascal的强类型。同时,由于Pascal有更丰富的数据类型
而第二段又说 C有更好的程序可靠性和错误检测通过强类型。
是我翻译理解错了吗
第二段是说两者的弱点和发展吧
The weaknesses of both languages have
been recognized. PASCAL has been
adapted for wider use by extending it, and
C has been moving toward better program
reliability and error detection through
stronger typing (as evidenced by the Portable
C Compiler3).
翻译如下:
人们都认识到了两者的弱点。PASCAL通过扩展被越来越广泛的使用,C也通过更健壮的类型向更可靠的编程和更好的错误检测方向发展( Portable
C Compiler3证明了这个)
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。