DlangScience / scid

Scientific library for the D programming language
Boost Software License 1.0
90 stars 31 forks source link

no program has beeen changed #14

Closed yharuhi39 closed 9 years ago

yharuhi39 commented 9 years ago

but operator ~ have to be used between [BLANK]. so I inserted [BLANK].

kyllingstad commented 9 years ago

Why? Is this some recent change in DMD that I'm not aware of?

yharuhi39 commented 9 years ago

Ah... you may think "no program has been changed." "but-operator..."? If you think so, that is misunderstand. "no program ... but, operator ...." is what I want to say. otherwise Digital Mars are recommended [BLANK] between expressions and operators.

kyllingstad commented 9 years ago

Digital Mars are recommended [BLANK] between expressions and operators.

Where did you read this recommendation?

This seems to be a style issue to me, unless you can point me to some DMD change that requires the use of blank spaces around concatenation operators.

yharuhi39 commented 9 years ago

http://www.digitalmars.com/d/1.0/dstyle.html

This site they says

Operators are separated by single spaces from their operands.

kyllingstad commented 9 years ago

The page you refer to is a style guide for D 1.0, and therefore not a requirement. For the most part, SciD adheres to the newer D/Phobos style guide on dlang.org, but again, this is just a guide, and there may be differences in style.