What is the Philosophy of D?

qznc qznc at web.de
Mon Oct 16 12:52:00 UTC 2017


On Monday, 16 October 2017 at 00:25:32 UTC, codephantom wrote:
> D's overview page says "It doesn't come with .... an overriding 
> philosophy."
>
> Is philosophy not important?
>
> I'd like to argue, that the problem of focusing on getting the 
> job done quickly and reliably, does *not* leave behind 
> maintainable, easy to understand code, but rather it leads to 
> unintended outcomes ...
>
> If the philosophy of C, is 'the programmer is in charge', what 
> might the philosophy of D be?
>
> e.g. Maximum precision in expression, perhaps?

The frontpage says "It combines efficiency, control and modeling 
power with safety and programmer productivity."

The three big words are: Convenience, Power, Efficiency.

What are the "philosophies" we are talking about? Probably the 
usual paradigms, like object-oriented, functional, etc. D 
supports them, but none of them is overriding or dominant. 
Maximum safety is another philosophy. D allows you to enhance 
safety (@safe) or diminish it (inline assembly).


More information about the Digitalmars-d mailing list