I used to write:
window.size.X=19;
window.size.Y=39;
window.location.X=29;
window.location.Y=79;
But it would be much easier to open class before modyfing it like:
window{
size{
X=19;
Y=39;
}
location{
X=29;
Y=79;
}
}
That would reduce code size ,it would read more easily and clearly
and take much less disc space.
Words are not repeating that many times.
Is class opening like one in example above possible in c++ or c#?
Is there any language that would allow class opening?