October 29, 2014
On 10/29/2014 12:46 AM, "Ola Fosheim Grøstad" <ola.fosheim.grostad+dlang@gmail.com>" wrote:
> Coherent and sensible naming is considered an important aspect of modeling. D
> has a lot to learn from other areas of CS.

D doesn't tell you what to name things, and neither does any other language.
October 29, 2014
On Wednesday, 29 October 2014 at 08:38:02 UTC, Walter Bright wrote:
> D doesn't tell you what to name things, and neither does any other language.

Languages provide a semantic view of how to model. A library (like phobos) provides prebuilt components that implies a way to model.

Universities should teach how to model in a consistent fashion so that the semantics of the model is easy to grasp for an outsider. Languages and their libraries should support this modeling effort and make it easier.

It is important that a lot of thought has been put into libraries and consistent naming and semantics, because they affect the overall model.

Things like UFCS and certain aspect of phobos is making the model less clear.

D needs to stop expanding and tighten what you have (or even remove features).
October 29, 2014
On Wed, 2014-10-29 at 08:50 +0000, via Digitalmars-d wrote: […]
> Universities should teach how to model in a consistent fashion so that the semantics of the model is easy to grasp for an outsider.

Universities can never teach anything. Universities are places that should support and guide student learning. The distinction here is actually very subtle, often misunderstood, and yet crucial to real success.

> Languages and their libraries should support this modeling effort and make it easier.
> 
> It is important that a lot of thought has been put into libraries and consistent naming and semantics, because they affect the overall model.

The naming strategy in the standard library of a language acts as an exemplar of how a language should be used. STL and C++, Phobos and D. Thus the naming and coding conventions in Phobos specify what the D community should emulate. Even when they are wrong.

-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder


October 29, 2014
On Wednesday, 29 October 2014 at 15:09:27 UTC, Russel Winder via Digitalmars-d wrote:
> Universities can never teach anything. Universities are places that should support and guide student learning.

Teachers teach the moment they open their mouths… (even if it is unintended and the wrong things are being deduced by students).

> The naming strategy in the standard library of a language acts as an exemplar of how a language should be used. STL and C++, Phobos and D.

Which is why I currently do not use STL or Phobos…

> Thus the naming and coding conventions in Phobos specify what the D  community should emulate. Even when they are wrong.

Hardly.
October 29, 2014
On Wed, 2014-10-29 at 15:46 +0000, via Digitalmars-d wrote: […]
> Hardly.

I must clearly improve on my attempts at satire.

-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder


October 29, 2014
On Wednesday, 29 October 2014 at 16:08:06 UTC, Russel Winder via Digitalmars-d wrote:
> On Wed, 2014-10-29 at 15:46 +0000, via Digitalmars-d wrote:
> […]
>> Hardly.
>
> I must clearly improve on my attempts at satire.

Oh… :^) *blush*

Well, I actually kinda agree with your satire for languages which provide frameworks such as Java and C#.

For a system level language the libraries and runtime ought to be optional, the language/compiler and how you can use it to support your own project is the only thing that truly matters.
1 2 3
Next ›   Last »