This is sort of from the top of my head; I'm sure I am missing a lot. Besides the things mentioned here, understanding programming and object-oriented programming in particular is a must, of course.
A few important language features:
- Realise that in Ruby, everything is an expression, and be able to apply that principle, even if you think it makes your code unreadable.
-
Closures are mentioned; I would also expect Rubyists to know the differences between blocks and procs (and lambdas) and know how to convert between them. Closure mastery is important to being able to write beautiful Ruby, in my opinion.
-
Operator overloading: know what happens when you define methods named
[]
, []=
, ==
, +
, <<
, etc. on an object.
- Be proficient with most instance methods of Array, Enumerable and Hash (even if you don't know the exact definition by heart). Your Ruby code will be so much more verbose if you don't use methods like
collect
, inject
, join
, zip
, etc. where appropriate.
- Thoroughly understand what Symbols are, and when you should use / avoid them.
- Understand what metaclasses are, know the difference between class variables and class instance variables.
- Know how object attributes work in Ruby, how you can define them with
attr_accessor
and friends, and how you can define them yourself.
- Be able to use modules, both as mix-ins and as namespacing tool. You should also understand how to mix-in instance methods and class methods (or be able to figure out how you could do it).
- Know the difference between raise/rescue and throw/catch, and be able to use both correctly.
- Understand how metaprogramming works, and at least have a basic idea of all the methods that allow you to do metaprogramming (mostly hidden in the classes
Module
and Object
).
- Be able to use a
Hash
method argument as a substitute for named arguments (even if it's just because it's a common pattern).
- Know how concurrency does and doesn't work in Ruby.
-
Continuations, even if they're rarely used.
Some vital tools:
- Know and understand Ruby gems
- and rake
- and RDoc.
- and YAML.
Some framework knowledge:
- Basic knowledge of Rails would be useful. Even if it's only because the outside world sometimes doesn't seem to know the difference between Rails and Ruby.
- Know there are other web frameworks than Rails: Merb, Sinatra, Camping, ...
Ultimately, keep in mind that the above is "just knowledge", and not skills. It's probably easy to pick up most of this if you're not familiar with it.
分享到:
相关推荐
这篇文档是一个针对幼儿园大班(年级为3)的英语教学教案,主题是"What do you have",由教师stellar在2006年6月3日设计。教案的主要目标是教授和深化孩子们对新句型"What do you have? I have..."的理解,并鼓励...
外研版(一起)英语二年级上册 Module6 Unit1 What do you do on Sundays?(课件).ppt
这篇文档是一个针对幼儿园大班的英语教案,主题是"What do you have",旨在教授孩子们学习新的句型"What do you have?"以及如何用这个句型来表达自己拥有的物品,特别是与之前学过的学习用品相关词汇相结合。教案由...
接力版四年级下册小学英语 Lesson 5 What are you doing?教案教学设计 本教案旨在帮助四年级小学生学习和掌握现在进行时的英语句型“What are you doing?”和答语“I’m…We are…”,培养学生的语言交流能力和...
语言:English 不确定要喝什么咖啡? 让我们为您挑选超过35种不同的咖啡并进行种植。 不知道早上要喝什么咖啡? 让我们为您挑选超过35种不同的咖啡并进行种植。 添加更多...
But what components within your application should you analyze? How should you optimize? And how can you measure how well your application is performing? These are some of the questions that are ...
这篇文档是关于五年级英语上册 Unit 4 What can you do?第二课时的教学教案,主要针对人教PEP版教材。本课的教学内容包括Part A的Let’s try, Let’s talk, Group work以及Good to know(C)部分,旨在帮助学生掌握与...
3. What do you have? 4. How many balls do you have? 三、用所给单词的适当形式填空: 1. I have no books. Would you like some books? 2. How many cakes do you have? 3. Look at those pies. 4. These ...
- 询问承担的家务:What chores do you have to do? 如 I have to walk the dog。 4. 物品选择与拥有: - 询问物品偏好:Which sunglasses do you prefer? 如 I prefer these。 - 询问物品拥有:Do you have a ...
不知道要喝什么咖啡?让我们为你挑选超过35种不同的咖啡和种植。 不知道早上要喝什么咖啡? 让我们为您挑选超过35种不同的咖啡并进行种植。 添加更多...支持语言:English
这篇资料是针对湖北省武汉市北大附中武汉为明实验中学八年级学生的英语学习材料,主题是“Unit 2 What should I do?”的基础练习B卷,基于人教新目标教材。资料内容包括听力练习和基础知识两大部分,旨在帮助学生...
外研版(一起)英语二年级上册 Module6 Unit1What do you do on Sundays?(课件).ppt
外研版(一起)英语二年级上册 Module6 Unit1 What do you do on Sundays?_(课件).ppt
/ What time do you have breakfast/lunch? * 询问交通方式:How do you go to school? * 询问周末活动:Where did you go last Sunday? 三、询问运动、食物、颜色等 * 询问喜好动物:What's your favourite ...
这篇PPT课件是针对英语教学的,主题是"What do you have?",主要教授学生如何用英语表达自己拥有的物品,并进行简单的对话交流。在学习过程中,学生将掌握以下关键知识点: 1. 基本句型:核心句型"What do you have...
C: I’m going to … What about you? D: I’m going to … At last I’ll choose someone to be a journalist to interview other groups: Where are they/you going? 通过本课稿,学生将能学习询问“你要去哪里...
这篇资料是针对湖北省武汉市北大附中武汉为明实验中学八年级学生的一份英语基础练习,主要涵盖Unit 2 "What should I do?" 的内容。该练习分为三个部分:听力、基础知识和单项选择,旨在帮助学生巩固和提升英语听、...
What Every Engineer Should Know About Excel(2nd) 英文epub 第2版 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除
What Every Programmer Should Know About Memory ,经典著作
Interviewer tells you, "Dress code is casual around here - the development team wears flipflops." What should you wear? How do you deal with a boss who's a micromanager. Plus how helping your manager ...