王老师开心就好=。=
是啊,而且出版时间都挺早的了。。。我就是看 workshop 的
好玩~
没事,不兼容就改到兼容=。=
AboutStrings#test_plus_will_concatenate_two_strings has expanded your awareness.
AboutStrings#test_plus_concatenation_will_leave_the_original_strings_unmodified has expanded your awareness.
AboutStrings#test_plus_equals_will_concatenate_to_the_end_of_a_string has expanded your awareness.
AboutStrings#test_plus_equals_also_will_leave_the_original_string_unmodified has damaged your karma.
The Master says:
You have not yet reached enlightenment.
You are progressing. Excellent. 20 completed.
The answers you seek...
Expected "FILL ME IN" to equal "Hello, "
Please meditate on the following code:
/Users/jimmy/workspace/koans/about_strings.rb:83:in `test_plus_equals_also_will_leave_the_original_string_unmodified'
mountains are merely mountains
your path thus far [...X______________________________________________] 20/281 (7%)
The Master says:
You have not yet reached enlightenment.
/Users/jimmy/workspace/koans/neo.rb:229:in `progress': undefined method `exists?' for File:Class (NoMethodError)
if File.exists?(PROGRESS_FILE_NAME)
^^^^^^^^
是不是版本太旧了,按照提示把 exists? 改成 exist? 就正常了
jimmy@JimmyMacBookAir ~/workspace/koans $ rake
/usr/local/Cellar/ruby/3.2.2/bin/ruby path_to_enlightenment.rb
AboutAsserts#test_assert_truth has damaged your karma.
The Master says:
You have not yet reached enlightenment.
Do not lose hope.
The answers you seek...
Failed assertion.
Please meditate on the following code:
/Users/jimmy/workspace/koans/about_asserts.rb:10:in `test_assert_truth'
mountains are merely mountains
your path thus far [X_________________________________________________] 0/281 (0%)
感谢大佬
我只是说"如果老天爷赏饭",有 ruby 的工作概率超低我也知道的,所以我基本上也没打算靠 ruby 找工作,纯粹就是想找一个语言和生态自己玩耍:) 我肯定还是保持原来的工作,毕竟现在大环境不好,有工作就算不错了 (悲)。 我并没有觉得你"好为人师",在社区上友好交流是一件让人高兴的事:) 这篇笔记确实如你所说,入门时有用,我会尝试用翻译看看你推荐的《指南》,构建完整的 Ruby 知识体系之后,这篇新人笔记可能就得被丢弃或者彻底翻修了 XD 如你所说,这种系统归纳确实不能只通过阅读来回忆巩固,肯定还是得写写写,前期写写写的时候,还是有点用的,后面肯定还会各种啃文档,各种 google,各种找 best pratice~ 最后,感谢你的友好交流和各种建议,也祝你工作学习顺利~
我可看不懂日文,不过还是感谢你的分享,我本身就是做 Web 的,前后端都写,后端用过 PHP 和 Python,所以这种笔记也就是把我觉得入门需要的大概的东西简单记录一下,不可能每次都去翻书,书里写得太细了不好翻到,久而久之看多了应该就不需要再来查笔记了。 我看到很多地方都说,Ruby 和 ror 在走下坡 (热度不如以前?),很多 Rubyer 也在转别的语言,我倒是无所谓,打工用 Python 就行,我学 Ruby 和 Rails 就是自己好玩,所以后端要用到的东西,你说的"异常、线程、网络库等等"还是要看的,如果老天赏饭碰到了 Ruby 的机会,我会毫不犹豫去的=。= (这个社区真友好啊 :P)
写完辣~
感谢,还没学完,学完元编程基础部分就去看 rails
我试一试=。=
这年头没人用 IRC 了吗?很多境外服还能进=。=
行内暴力老毛病=。=
我知道了,因为样式问题,我点"保存"实际上点到了"取消"上!!!
神奇,后面几次编辑都成功保存了=。=