July 27, 2009 General » Re: new DIP5: Properties 2 | |||
|---|---|---|---|
| |||
...Hum, what's the difference between:
int width
{
private int val;
int opGet() { return val... | |||
July 25, 2009 General » Re: Reddit: why aren't people using D? | |||
|---|---|---|---|
| |||
...Property: Abstracted to a Noun/Adjective ("position" "width" "color" "turret" "ball")
Variable: *Special case of... | |||
July 25, 2009 General » Re: Properties | |||
|---|---|---|---|
| |||
...ideas
int width = 7 /// Property with storage
out { return width; }
in(int i) { width = i... | |||
July 24, 2009 General » Re: Properties | |||
|---|---|---|---|
| |||
...here for open discussion:
-----------------------------
// Viable? Preferable?
int width = 7
get { return value; }
set { value = set... | |||
July 24, 2009 General » Re: DIP4: Properties | |||
|---|---|---|---|
| |||
...Your first example property would become:
int width = int.init
{
auto value;
get { return value... | |||
July 07, 2009 General » Re: Case Range Statement .. | |||
|---|---|---|---|
| |||
...Unless you're programming in a proportional-width font the difference is pretty obvious. Or... | |||
June 12, 2009 General » Re: why implicitly allowing compare ubyte and byte sucks | |||
|---|---|---|---|
| |||
...where 'sT' and 'uT' have the same width, comparisons should be translated as follows: 's... | |||
May 19, 2009 General » Re: "with" still sucks + removing features + adding features | |||
|---|---|---|---|
| |||
...operator, and the editor uses a fixed-width font (like any good editor should). If... | |||
May 19, 2009 General » Re: "with" still sucks + removing features + adding features | |||
|---|---|---|---|
| |||
...re looking at it in a fixed-width font, then I don't agree that... | |||
May 18, 2009 General » Re: "with" should be deprecated with extreme prejudice | |||
|---|---|---|---|
| |||
...forget manner:
with (new WindowWidget) {
parent = mainWin;
width = 100;
height = 100;
}
That gives you something... | |||
Copyright © 1999-2021 by the D Language Foundation