当我开始学习如何测试一个程序时,我学到的就是用与测试程序相同的语言使用一个库或包。例如,
- if a tested program is written in Python, its testing program is also written in Python and uses `UnitTest` class in the python standard library
- if a tested program is written in C++, its testing program is also written in C++ and uses some test
我是CS工程专业的三年级学生,我已经用C,C++,Java,Shell,Perl,PHP,Ruby on Rails,Python等语言做过一些基本的编程。但是现在我只想使用一种语言,所以我想最终掌握一种脚本语言和另一种编译语言。所以我决定继续使用C++和Python。有人能建议我,对于任何一种编程,或者对于网页设计,我应该坚持ROR吗?