今天的编程需要伪代码吗?
我应该学习伪代码来学习数据结构和算法吗?或者说确实需要吗?
现代软件开发中是否不再使用伪代码?
大学里还教伪代码吗?
Should I learn pseudo code to learn Data-structures and Algorithms? Or is it actually needed?
Is pseudo code used any more in modern day software development?
Is pseudo code taught in colleges any more?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
数据结构和算法通常用一些现有的语言来教授。如今,伪代码仍在使用,但由于它通常非常接近某种众所周知的语言,因此不需要学习太多东西,而且我认为大学里也不会教授这些内容。至少我希望不会:)
Data structures and algorithms are usually taught in some existing languages. Pseudo code is still being used nowadays, but because it’s usually very close to some widely known language, there’s not much to learn and I don’t think they teach that in colleges. At least I hope not :)
伪代码是非正式的;这是向他人传达您的想法和算法的一种方式。没什么可学的。如果您了解数据结构和算法并且可以用英语解释它们,那么您就已经了解伪代码了。
如果你想要真正的、可用的伪代码,Python 是我见过的最接近的东西如果优雅和可读性是重要的考虑因素,那么它类似于可读的伪代码。
Pseudo code is informal; it's one way to communicate your ideas and algorithms to others. There's not much to learn. If you understand data structures and algorithms and can explain them in english, then you already do know pseudo code.
If you want real, usable pseudo code, Python is the closest thing I've seen that resembles readable pseudo code if elegance and readibility are important considerations.