美国人对于instructions

博主编程时遇到要求将所有内容写在一个main函数里的指令,起初不解。美国TAs表示项目重点在于条件判断和循环,虽不高效,但应遵循指令用于练习。博主由此思考这可能是美国编程严格按文档编写代码的规范。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

今天编了一个程序,很郁闷,因为那个instruction 让我讲所有的东西都写在一个main函数里面,woops,竟然可以这样,想不明天,在中国我是觉得不管的,创立那个元素的,但是美国的TAs确实这样的说法:
The point isn't about methods - the point of the project is
if-then-elses, switchs and other loops. From what I understand, they
really don't care if you use one method or not. Nevertheless, the
instructions say that you should only use one. Yes, it's not the most
efficient. But we're not working on efficiency.

Just follow the freaking instructions. This is all for practice.

题目是quit complaining about the instrucions。

后来一想,这难道是美国的规范,编程的规范,严格安装文档编写代码的规范,可能噢,有待观察!
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值