Mars Rover In Ruby
Leo
posted @ 2011年6月02日 23:02
in Ruby
with tags
Ruby Mars Rover TDD
, 2158 阅读
最近用业余时间学习了ruby,拜服于ruby语言与其他静态语言不同的各类奇淫邪技……
为了验证下自己的学习质量,就用ruby把很久前用其他语言做过的一道Mars Rover题目又重新做了一遍。
代码及题目描述已经放到了这里:http://code.google.com/p/mars-rover-in-ruby/
有兴趣的同学也可以做做,欢迎交流!
看见测试变绿后居然很兴奋..... TDD伤不起啊
虽然是用ruby写的,但是代码及设计风格还是按照之前写c# code的风格,没有真正的 on ruby way。这也是纠结的地方……
2011年9月09日 11:25
请看metaprogramming in ruby
2011年9月11日 22:32
@xiaodao: 嗯,张逸推荐给我了,最近一直在看。多谢刀哥!
2023年11月21日 22:03
谢刀哥!
2023年12月06日 14:33
Today, I went to the beachfront with my kids. I found a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She put the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to go back! LoL I know this is completely off topic but I had to tell someone!|
2023年12月06日 14:58
Fantastic blog! Do you have any tips and hints for aspiring writers? I’m planning to start my own site soon but I’m a little lost on everything. Would you suggest starting with a free platform like WordPress or go for a paid option? There are so many options out there that I’m totally overwhelmed .. Any suggestions? Bless you!|
2023年12月06日 15:05
Just wish to say your article is as amazing. The clarity in your post is just nice and i could assume you are an expert on this subject. Fine with your permission allow me to grab your RSS feed to keep updated with forthcoming post. Thanks a million and please continue the rewarding work.|
2023年12月06日 15:10
Does your blog have a contact page? I’m having a tough time locating it but, I’d like to shoot you an e-mail. I’ve got some ideas for your blog you might be interested in hearing. Either way, great blog and I look forward to seeing it grow over time.|
2023年12月06日 15:15
Hi are using WordPress for your blog platform? I’m new to the blog world but I’m trying to get started and create my own. Do you require any coding knowledge to make your own blog? Any help would be really appreciated!| I have read so many posts concerning the blogger lovers however this paragraph is in fact a fastidious article, keep it up.|
2023年12月06日 15:29
Does your blog have a contact page? I’m having a tough time locating it but, I’d like to shoot you an e-mail. I’ve got some ideas for your blog you might be interested in hearing. Either way, great blog and I look forward to seeing it grow over time.|
2023年12月06日 15:31
It’s the best time to make a few plans for the longer term and it is time to be happy. I have learn this post and if I may just I wish to counsel you few attention-grabbing issues or advice. Maybe you can write next articles relating to this article. I wish to read even more things approximately it!|
2023年12月06日 15:46
I in addition to my buddies happened to be digesting the excellent points located on your web site and then all of the sudden I had an awful feeling I never expressed respect to the site owner for them. All the men were absolutely thrilled to read through them and have now in truth been having fun with them. Thank you for actually being indeed kind and then for obtaining this kind of excellent useful guides most people are really desperate to know about. My honest regret for not expressing appreciation to earlier.
2023年12月06日 15:50
Sweet blog! I found it while browsing on Yahoo News. Do you have any tips on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there! Cheers| Hi. i think that you should add captcha to your blog.
2023年12月06日 15:57
Excellent post. I was checking continuously this weblog and I’m inspired! Very useful information specifically the remaining phase I deal with such info much. I used to be seeking this certain info for a very long time. Thank you and good luck. |I was suggested this website by my cousin. I am not sure whether this post is written by him as no one else know such detailed about my difficulty. You’re wonderful! Thanks!|
2023年12月06日 16:02
I just want to mention I am new to blogging and site-building and really savored this blog site. Very likely I’m likely to bookmark your blog post . You surely come with tremendous article content. Appreciate it for sharing with us your web-site. There may be clearly a bunch to understand this particular. I believe you’ve made certain pleasant points within features also.
2023年12月06日 17:00
It’s the best time to make a few plans for the longer term and it is time to be happy. I have learn this post and if I may just I wish to counsel you few attention-grabbing issues or advice. Maybe you can write next articles relating to this article. I wish to read even more things approximately it!|
2023年12月06日 17:06
Hello, i read your blog occasionally and i own a similar one and i was just curious if you get a lot of spam responses? If so how do you stop it, any plugin or anything you can advise? I get so much lately it’s driving me crazy so any assistance is very much appreciated.|
2023年12月06日 17:06
Hello, i read your blog occasionally and i own a similar one and i was just curious if you get a lot of spam responses? If so how do you stop it, any plugin or anything you can advise? I get so much lately it’s driving me crazy so any assistance is very much appreciated.|
2023年12月06日 17:07
I in addition to my buddies happened to be digesting the excellent points located on your web site and then all of the sudden I had an awful feeling I never expressed respect to the site owner for them. All the men were absolutely thrilled to read through them and have now in truth been having fun with them. Thank you for actually being indeed kind and then for obtaining this kind of excellent useful guides most people are really desperate to know about. My honest regret for not expressing appreciation to earlier.
2023年12月06日 17:20
Nice post. I discover something tougher on various blogs everyday. Most commonly it is stimulating to see content off their writers and practice a little there. I’d would prefer to use some using the content on my own weblog whether you do not mind. Natually I’ll supply you with a link with your web blog. Thanks for sharing.
2023年12月06日 17:34
I am extremely impressed with your writing skills as well as with the layout on your weblog. Is this a paid theme or did you customize it yourself? Either way keep up the nice quality writing, it’s rare to see a great blog like this one these days.| Informative, pretty much as I had come to expect from this site.
2023年12月06日 17:36
you’re actually a just right webmaster. The web site loading pace is incredible. It seems that you are doing any unique trick. Moreover, The contents are masterpiece. you have done a wonderful job on this matter! you’re in point of fact a excellent webmaster. The web site loading velocity is amazing. It sort of feels that you’re doing any unique trick. Also, The contents are masterpiece. you’ve done a wonderful job on this matter!
2023年12月06日 18:32
Hi are using WordPress for your blog platform? I’m new to the blog world but I’m trying to get started and create my own. Do you require any coding knowledge to make your own blog? Any help would be really appreciated!| I have read so many posts concerning the blogger lovers however this paragraph is in fact a fastidious article, keep it up.|
2023年12月06日 18:36
Just wish to say your article is as amazing. The clarity in your post is just nice and i could assume you are an expert on this subject. Fine with your permission allow me to grab your RSS feed to keep updated with forthcoming post. Thanks a million and please continue the rewarding work.|
2023年12月06日 18:43
This is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! Keep up the good work.World Facts For Children… […]here are some links to sites that we link to because we think they are worth visiting[…]…
2023年12月06日 18:43
We are a group of volunteers and starting a new scheme in our community. Your site provided us with helpful info to work on. You have performed a formidable activity and our entire neighborhood will be thankful to you.| I just want to mention I am new to blogging and site-building and really savored this blog site. Very likely I’m likely to bookmark your blog post . You surely come with tremendous article content. Appreciate it for sharing with us your web-site.
2023年12月06日 18:51
Excellent post. I was checking continuously this weblog and I’m inspired! Very useful information specifically the remaining phase I deal with such info much. I used to be seeking this certain info for a very long time. Thank you and good luck. |I was suggested this website by my cousin. I am not sure whether this post is written by him as no one else know such detailed about my difficulty. You’re wonderful! Thanks!|
2023年12月06日 18:59
it is a really nice point of view. I usually meet people who rather say what they suppose others want to hear. Good and well written! I will come back to your site for sure!I was reading through some of your blog posts on this website and I conceive this website is rattling instructive! Retain posting.
2023年12月06日 19:25
Excellent post. I was checking continuously this weblog and I’m inspired! Very useful information specifically the remaining phase I deal with such info much. I used to be seeking this certain info for a very long time. Thank you and good luck. |I was suggested this website by my cousin. I am not sure whether this post is written by him as no one else know such detailed about my difficulty. You’re wonderful! Thanks!|
2023年12月06日 19:27
I know this if off topic but I’m looking into starting my own weblog and was wondering what all is needed to get set up? I’m assuming having a blog like yours would cost a pretty penny? I’m not very web savvy so I’m not 100 certain. Any tips or advice would be greatly appreciated. Many thanks|
2023年12月06日 19:45
Today, I went to the beachfront with my kids. I found a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She put the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to go back! LoL I know this is completely off topic but I had to tell someone!|
2023年12月06日 19:46
We are a group of volunteers and starting a new scheme in our community. Your site provided us with helpful info to work on. You have performed a formidable activity and our entire neighborhood will be thankful to you.| I just want to mention I am new to blogging and site-building and really savored this blog site. Very likely I’m likely to bookmark your blog post . You surely come with tremendous article content. Appreciate it for sharing with us your web-site.
2023年12月06日 19:54
Excellent post. I was checking continuously this weblog and I’m inspired! Very useful information specifically the remaining phase I deal with such info much. I used to be seeking this certain info for a very long time. Thank you and good luck. |I was suggested this website by my cousin. I am not sure whether this post is written by him as no one else know such detailed about my difficulty. You’re wonderful! Thanks!|
2023年12月06日 20:04
I absolutely love your blog and find a lot of your post’s to be exactly what I’m looking for. Does one offer guest writers to write content for yourself? I wouldn’t mind creating a post or elaborating on many of the subjects you write concerning here. Again, awesome web log!|
2023年12月06日 20:08
Greetings, I think your blog could be having internet browser compatibility issues. When I look at your website in Safari, it looks fine however, when opening in IE, it has some overlapping issues. I merely wanted to give you a quick heads up! Apart from that, great website!|
2023年12月06日 20:17
Just wish to say your article is as amazing. The clarity in your post is just nice and i could assume you are an expert on this subject. Fine with your permission allow me to grab your RSS feed to keep updated with forthcoming post. Thanks a million and please continue the rewarding work.|
2023年12月06日 20:19
Does your blog have a contact page? I’m having a tough time locating it but, I’d like to shoot you an e-mail. I’ve got some ideas for your blog you might be interested in hearing. Either way, great blog and I look forward to seeing it grow over time.|
2023年12月06日 20:28
was wondering if you ever thought of changing the page layout of your site? Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better. Youve got an awful lot of text for only having 1 or 2 images. Maybe you could space it out better?|
2023年12月06日 20:40
Just wish to say your article is as amazing. The clarity in your post is just nice and i could assume you are an expert on this subject. Fine with your permission allow me to grab your RSS feed to keep updated with forthcoming post. Thanks a million and please continue the rewarding work.|
2023年12月06日 20:52
I know this if off topic but I’m looking into starting my own weblog and was wondering what all is needed to get set up? I’m assuming having a blog like yours would cost a pretty penny? I’m not very web savvy so I’m not 100 certain. Any tips or advice would be greatly appreciated. Many thanks|
2023年12月06日 20:57
Today, I went to the beachfront with my kids. I found a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She put the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to go back! LoL I know this is completely off topic but I had to tell someone!|
2024年1月20日 13:44
I went over this website and I believe you have a lot of wonderful information, saved to my bookmarks
2024年1月20日 15:17
I would like to thank you for the efforts you have made in writing this article
2024年1月20日 15:49
It is a great website.. The Design looks very good.. Keep working like that!
2024年1月20日 16:34
Good to become visiting your weblog again, it has been months for me. Nicely this article that i've been waited for so long. I will need this post to total my assignment in the college, and it has exact same topic together with your write-up. Thanks, good share
2024年1月20日 17:23
It is a great website.. The Design looks very good.. Keep working like that!
2024年1月20日 18:00
Thanks for sharing the post.. parents are worlds best person in each lives of individual..they need or must succeed to sustain needs of the family.
2024年1月20日 18:33
it's really nice and meanful. it's really cool blog. Linking is very useful thing.you have really helped lots of people who visit blog and provide them usefull information
2024年1月20日 18:49
That is the reason consentrate on you will need to unique placement of feet some time before authoring. Will likely be doable to help far more suitable writing in this fashion
2024年1月20日 19:27
Thanks , I’ve just been searching for information approximately this topic for ages and yours is the best I’ve discovered so far.
2024年1月20日 20:15
I’ve been searching for some decent stuff on the subject and haven't had any luck up until this point, You just got a new biggest fan!.
2024年1月20日 20:46
I think this is one of the most significant information for me. And i'm glad reading your article.
2024年1月20日 21:23
Hi, thank you so much for sharing this, it is extremely useful. Thanks again
2024年1月21日 13:43
I just couldn’t get away from your web site before suggesting that I truly appreciated the typical information an individual give on your guests? Is likely to be yet again routinely to examine fresh articles
2024年1月21日 15:30
Great articles and great layout. Your blog post deserves all of the positive feedback it's been getting.
2024年1月21日 15:59
"These are in fact fantastic ideas in concerning blogging.
You have touched some good factors here. Any way keep up wrinting."
2024年1月22日 16:23
It's always exciting to read articles from other writers and practice something from their web sites.
2024年1月24日 16:08
This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information
2024年1月24日 19:24
It’s hard to find knowledgeable people on this topic however you sound like you know what you’re talking about! Thanks
GV
2024年1月26日 11:04
카지노 바카라사이트 우리카지노 카지노는 바카라, 블랙잭, 룰렛 및 슬롯 등 다양한 게임을 즐기실 수 있는 공간입니다. 게임에서 승리하면 큰 환호와 함께 많은 당첨금을 받을 수 있고, 패배하면 아쉬움과 실망을 느끼게 됩니다.
2024年1月26日 11:07
하노이 꼭 가봐야 할 베스트 업소 추천 안내 및 예약, 하노이 밤문화 에 대해서 정리해 드립니다. 하노이 가라오케, 하노이 마사지, 하노이 풍선바, 하노이 밤문화를 제대로 즐기시기 바랍니다. 하노이 밤문화 베스트 업소 요약 베스트 업소 추천 및 정리.
2024年1月27日 13:55
I was taking a gander at some of your posts on this site and I consider this site is truly informational! Keep setting up.
2024年1月27日 14:10
Thank you for sharing such a good and useful information here in the blog for everywhere.
2024年1月27日 14:25
Very good written article. It will be supportive to anyone who utilizes it, including me. Keep doing what you are doing – can’r wait to read more posts
2024年1月27日 14:39
This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information
2024年1月27日 14:57
나는 당신의 포스트를 읽고 그것이 놀랍다는 것을 발견했습니다! 감사!
2024年1月27日 15:04
나는 당신의 포스트를 읽고 그것이 놀랍다는 것을 발견했습니다! 감사!
2024年1月27日 15:17
나는 당신의 포스트를 읽고 그것이 놀랍다는 것을 발견했습니다! 감사!
2024年1月27日 15:29
나는 당신의 포스트를 읽고 그것이 놀랍다는 것을 발견했습니다! 감사!
2024年1月27日 15:35
나는 당신의 포스트를 읽고 그것이 놀랍다는 것을 발견했습니다! 감사!
2024年1月29日 10:16
No.1 먹튀검증 사이트, 먹튀사이트, 검증사이트, 토토사이트, 안전사이트, 메이저사이트, 안전놀이터 정보를 제공하고 있습니다. 먹튀해방으로 여러분들의 자산을 지켜 드리겠습니다. 먹튀검증 전문 커뮤니티 먹튀클린만 믿으세요!!
2024年1月29日 10:20
베트남 남성전용 커뮤니티❣️ 베트남 하이에나 에서 베트남 밤문화를 추천하여 드립니다. 베트남 가라오케, 베트남 VIP마사지, 베트남 이발관, 베트남 황제투어 남자라면 꼭 한번은 경험 해 봐야할 화끈한 밤문화로 모시겠습니다.
2024年4月24日 11:08
블록체인개발 코인지갑개발 IT컨설팅 메스브레인팀이 항상 당신을 도울 준비가 되어 있습니다. 우리는 마음으로 가치를 창조한다는 철학을 바탕으로 일하며, 들인 노력과 시간에 부흥하는 가치만을 받습니다. 고객이 만족하지 않으면 기꺼이 환불해 드립니다.
https://xn--539awa204jj6kpxc0yl.kr/
2024年6月03日 13:58
The tech-original mission is to help you better understand technology, and make better decisions in the fields of IT, Tech, and Crypto.
https://www.tech-original.com/
2024年6月07日 18:37
The tech-original mission is to help you better understand technology, and make better decisions in the fields of IT, Tech, and Crypto.
https://www.tech-original.com/