-
I have followed the instructions for setting up the fizzbuzz challenge but when I try to run rspec, I get the following message. Any ideas what is going on and how I can make it work?
Thanks!
dowk…
-
Hi, when using the alternative version of the rspec test:
it 'returns "fizz" for the number 3' do
expect(3.fizzbuzz).to eq 'fizz'
end
I'm getting the below error:
Failure/Error: expe…
-
When summarizing why to understand Rspec, the text says "You won't have to write your own tests for a while, so don't worry about mastering the expect, to, and eq usage. The important part is that you…
-
Should the following work?
``` js
function* g() {
yield 1; yield 2; yield 3;
}
[0, 0, 0].flatMap(_=> g());
// [1, 2, 3, 1, 2, 3, 1, 2, 3]
```
Currently, it doesn't work because flatMap and fla…
-
I noticed this issue when solving the "Raindrops" problem (similar to the classic FizzBuzz) on http://exercism.io.
I had previously solved the same problem in Ruby using `each_with_object("")` to i…
-
Differences:
Ruby is very user-friendly (so far).
Easier to remember syntax.
Ruby is purely object oriented language.
snake_case
Similarities:
Same data types, different names.
Logic is v…
-
This is something I've been thinking about for a while now. The Manchester Java Community have managed to get a few decent speakers to visit them in the past and maybe any event could be aligned with …
-
This isn't an "issue" _per se_... I just wanted to leave a comment.
As an old-school Perl [5] guy interested in learning new capabilities, whenever I see a clever trick like this, I immediately see i…
-
> Which do you prefer, hylomorphism or metamorphism?
Fancy Programmierkonzepte?
> Which function returns True only for NaN::double in Haskell?
Nicht wirklich Haskell spezifisch, eher IEEE floating …
-
你好,请创造中文版的C#语言,和.net上的语言 f# vb,请提供它们的中文版.让更多的人用母语实现快速编程,实现想法,创造更丰富的程序.
实现全民编程的构想.
目前,想要掌握编程这项技能需要很高的学习成本和代价,编程还是少数人的专利,普通人或想要转业转行的人想要进入这一领域是一件艰难甚至不可达成的事,因为其代价和成本实在高昂.
那么,就因为如此,所以就要退缩和妥协吗?
不,我…