Julia
Julia аватар
User offline. Last seen 5 недель 2 дня ago. Не в сети
Зарегистрирован(а): 07/06/2007

EMPTY? none

This is not a new idea... it's a nag.

Code like this pops up often:

if all [not none? value not empty? value] [...]

If we allow EMPTY? on none! then we could simply write:

if not empty? value [...]

I'm inclined to add it... unless you shout loudly really soon.

Why? This pattern happens often. FOREACH already does it in R3.

 

Я не превращаюсь в пьяницу Не

Я не превращаюсь в пьяницу Не могу себе это позволить

Спасибо! dollar-proft.ru

Отправить комментарий

Содержание этого поля является приватным и не предназначено к показу.

Подробнее о форматировании

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image. Ignore spaces and be careful about upper and lower case.