学习或提高面向对象编程(OOP)技能的良好挑战/任务/练习 [英] Good challenges/tasks/exercises for learning or improving object oriented programming (OOP) skills

查看:95
本文介绍了学习或提高面向对象编程(OOP)技能的良好挑战/任务/练习的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

要提高您在面向对象编程中的技能,有什么挑战?

What is a good challenge to improve your skills in object oriented programming?

此民意测验的目的是提供一个概念,以了解哪些练习对学习OOP有用.

The idea behind this poll is to provide an idea of which exercises are useful for learning OOP.

挑战应该是尽可能与语言无关,要求很少或不需要使用特定的库,或者仅使用最常见的库.尝试在每个答案中仅包含一个挑战,这样一票表决将仅对应于该挑战的优劣.如果指出了所需的技能水平,以及它为什么是有用的练习的依据,那也将是很好的.

The challenge should be as language agnostic as possible, requiring either little or no use of specific libraries, or only the most common of libraries. Try to include only one challenge per answer, so that a vote will correspond to the merits of that challenge alone. Would also be nice if a level of skill required was indicated, and also the rationale behind why it is a useful exercise.

然后可以将对挑战的解决方案发布为如何..."问题的答案,并从此处链接至该链接.

Solutions to the challenges could then be posted as answers to a "How to..." question and linked to from here.

例如:

  • 挑战-实现后进先出堆栈
  • 技能水平-初学者
  • Rationale-提供有关如何引用对象的经验

推荐答案

构建技能面向对象设计是一本可能有用的免费书籍.

Building Skills in Object-Oriented Design is a free book that might be of use.

[原始书似乎被比特币腐烂了(所有格式均为404),但是Internet档案库的版本为

[ The original book appears to have bitrotted (404s for all formats) but the Internet Archive has versions as HTML, PDF and MOBI]

说明如下:

"这本书的目的是通过为他们提供一系列有趣且适度复杂的OO设计练习来帮助初学者.这本书还可以帮助管理人员提高对OO软件开发过程的舒适度.我们将要构建的应用程序要比平凡的一步要高得多,并且需要一些仔细的思考和设计;此外,由于这些应用程序本质上是娱乐性的,因此非常有趣且引人入胜,这本书使读者可以探索OO设计的过程和工件.在项目截止日期之前完成好的设计似乎是不可能的."

"The intent of this book is to help the beginning designer by giving them a sequence of interesting and moderately complex exercises in OO design. This book can also help managers develop a level of comfort with the process of OO software development. The applications we will build are a step above trivial, and will require some careful thought and design. Further, because the applications are largely recreational in nature, they are interesting and engaging. This book allows the reader to explore the processes and artifacts of OO design before project deadlines make good design seem impossible."

这篇关于学习或提高面向对象编程(OOP)技能的良好挑战/任务/练习的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆