On Thursday, 12 June 2014 at 18:33:38 UTC, Ary Borenszweig wrote:
On 6/12/14, 3:04 PM, Nick Sabalausky wrote:

In Ruby/Crystal you can do:

n.times do
  # code
end

In D you have to write:

for(unused; 0..n) {
  # code
}

Doesn't it bother you that your language requires more typing and defining dummy variables just for doing something N times?

Note, I'm just trying to point out that small improvements in the programmers life will be thanked a lot and more people will join your language.

If you give me complete requirements, proper planning, effective communication, automated testing, fast compilation and a proper chair, I will program anything in the most horrid language you can think of.

Reply via email to