是不是因为java语法比较简单,容易实现,直接接触算法思想,而不会像使用c++那样有很多语法细节?
迷茫2017-04-18 09:57:25
Recently I want to review algorithmic stuff, and I use Golang.
Algorithms should be something at a higher level than language. If you can understand the idea of the algorithm, you should be able to implement it in any language.
Suppose you can only implement a certain algorithm in a specific language, then you can only learn the language, not the algorithm.
PHPz2017-04-18 09:57:25
Algorithms are internal skills, language is just a weapon. It doesn’t matter what weapon a person with high internal strength uses
伊谢尔伦2017-04-18 09:57:25
Why use C? Foreign students all use python because it is simple. So when you think about what language you will use in the future, Java obviously has more advantages, and if you learn data structures, learn data structures. Java has better encapsulation and is simpler and more convenient.
PHP中文网2017-04-18 09:57:25
Support all the above arguments.
The C language is very good, but it also has some shortcomings. For example, when it comes to hashing, using C is a little troublesome. Java is too big and has too many encapsulations. It’s still the old saying: program = data structure + algorithm. There is no need to worry about language, just use whatever language you feel comfortable with.