OOD/OOP练习/代码练习 [英] OOD / OOP Etudes / Code exercises
问题描述
我已经在网上搜索了一段时间.我正在寻找用于OOD练习的小样本练习(以及一些内部TDD研讨会的练习).
如果只有一个地方可以满足您的需求,请指向我..然后关闭该问题
I've been searching the web for some time now. I am looking for small sample exercises for OOD practice (& for some internal TDD workshops).
If there is one single place, where this need is being served, please point me to it.. and close this question
约束:
- 与语言无关的现实世界问题
- Small:最多需要一个小时到两个小时才能解决的问题(或具有可以满足此约束的子部分).
- 不以算法为中心:不仅仅专注于解决计算任务. (有多个网站属于该类别.)涉及> 2个交互实体.
- 由多个人(最好是您自己)解决:善良已验证.首选链接.请不要发布可能是一种很好的锻炼方法...主观上
- Language-agnostic real world problem
- Small : Something that takes an hour to two at max to solve (or has sub-parts that can fit this constraint).
- Not Algorithm centred : Not be focussed on just solving a computational task. (There are multiple sites that serve this category.) Involve > 2 interacting entities.
- Solved by multiple people, preferably yourself : Goodness verified. Links preferred. Please do not post something that may be a good exercise... subjective
类似的问题 60109 ,但是答案不符合我的需求.我发现,长时间接触日常工作后,我对OOD失去了接触(是th不休的想法).需要找回来.
Similar SO question 60109, but the answers dont meet my need here. I found that I've lost my touch (was thrashing ideas) with OOD after prolonged exposure to a day-job. Need to get it back..
更新:我们是否集体参加了简短的OOP练习?我希望我能从中挑选一堆.但是,我的网络搜索(这是在制定正确的搜索字符串时的比较练习),此处缺少响应似乎表明并非如此.也许我是在不好的时候发给SO的..在这种情况下,碰到这个线程以获得更多响应.
Update: Are we collectively out of short OOP exercises ? I was hoping that I'd have a bunch to pick from. However my web-searches (this is a diff exercise in formulating the right search string) and the lack of responses here seem to indicate otherwise. Maybe I posted to SO at a bad time.. in which case bumping this thread for more responses.
推荐答案
http://butunclebob.com /ArticleS.UncleBob.TheBowlingGameKata
这篇关于OOD/OOP练习/代码练习的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!