Re: Driving Continuous Improvement in D

2018-06-02 Thread Jon Degenhardt via Digitalmars-d-announce

On Saturday, 2 June 2018 at 07:23:42 UTC, Mike Parker wrote:
In this post for the D Blog, Jack Stouffer details how dscanner 
is used in the Phobos development process to help improve code 
quality and fight entropy.


The blog:
https://dlang.org/blog/2018/06/02/driving-continuous-improvement-in-d/

reddit:
https://www.reddit.com/r/programming/comments/8nyzmk/driving_continuous_improvement_in_d/


Nice post. I haven't tried dscanner on my code, but I plan to 
now. It looks like the documentation on the dscanner repo is 
pretty good. If you think it's ready for wider adoption, consider 
adding a couple lines to the blog post indicating that folks who 
want to try it will find instructions in the repo.


Re: Driving Continuous Improvement in D

2018-06-02 Thread Microbe via Digitalmars-d-announce

On Saturday, 2 June 2018 at 13:32:00 UTC, Basile B. wrote:


Microbe, if you were a keyword for a protection attribute in a 
programming language, i would choose "smuck".


To borrow a quote from someone else on this forum.. knock of the 
sex talk!.


Anyway, increased membrane permeability leads to rupture, 
followed by death.


Why should I exposed my objects to the toxic effects of the D 
module?


And if encapsulation is not a 'quality' issue, then I don't know 
what is.


In biology, encapsulation is the basis for life - it's why you 
and I exist.


So my question is valid (even if you don't like it).

Since the compiler won't protect my objects from the toxic 
effects of the D module, I am curious how dscanner can help.




Re: Driving Continuous Improvement in D

2018-06-02 Thread Basile B. via Digitalmars-d-announce

On Saturday, 2 June 2018 at 12:49:45 UTC, Microbe wrote:
As you know, surrounding code within a module can infilitrate 
the membrane structure of those types that use 'private' to 
protect their boundary (for example, the 'private' member in 
that struct, in that blog).


Since the compiler is completely useless in such situations (as 
it conspires with the surrounding code 'to ensure that it can 
infiltrate your types'), what does dscanner bring to the table, 
if anything, to help the programmer to ensure such types don't 
die a quick death due to the cytotoxic effect the module has on 
such types?


Or is this not considered a 'quality' issue in D?


Microbe, if you were a keyword for a protection attribute in a 
programming language, i would choose "smuck".


Re: Driving Continuous Improvement in D

2018-06-02 Thread Microbe via Digitalmars-d-announce

On Saturday, 2 June 2018 at 07:23:42 UTC, Mike Parker wrote:
In this post for the D Blog, Jack Stouffer details how dscanner 
is used in the Phobos development process to help improve code 
quality and fight entropy.


The blog:
https://dlang.org/blog/2018/06/02/driving-continuous-improvement-in-d/

reddit:
https://www.reddit.com/r/programming/comments/8nyzmk/driving_continuous_improvement_in_d/


As you know, surrounding code within a module can infilitrate the 
membrane structure of those types that use 'private' to protect 
their boundary (for example, the 'private' member in that struct, 
in that blog).


Since the compiler is completely useless in such situations (as 
it conspires with the surrounding code 'to ensure that it can 
infiltrate your types'), what does dscanner bring to the table, 
if anything, to help the programmer to ensure such types don't 
die a quick death due to the cytotoxic effect the module has on 
such types?


Or is this not considered a 'quality' issue in D?


D IDE Coedit, version 3.6.15 available

2018-06-02 Thread Basile B. via Digitalmars-d-announce

Yet another update in this crazy 3.6.x burst.

See [1] for changelog and downloads. zip files and setup program 
include D-Scanner 0.5.6 and DCD ~master which both include fixes 
for a crash that could happen since a small month.


[1]: https://github.com/BBasile/Coedit/releases/tag/v3.6.15


D-Scanner v0.5.6 available

2018-06-02 Thread Baz@dlang-community via Digitalmars-d-announce

See [1] for downloads and change log


[1] 
https://github.com/dlang-community/D-Scanner/releases/tag/v0.5.6


Add QML support in QtE5

2018-06-02 Thread MGW via Digitalmars-d-announce

The QtE5 added ability to work with QML.
Created QtE5Qml.dll (. so) as plug-in QtE5.
Example in repo folder "QML"
Compile example: dmd qml.d qte5.d
Execute example: qml test3.qml

https://pp.userapi.com/c834103/v834103884/1546bb/Cp3wRDL5nCA.jpg

https://github.com/MGWL/QtE5



Driving Continuous Improvement in D

2018-06-02 Thread Mike Parker via Digitalmars-d-announce
In this post for the D Blog, Jack Stouffer details how dscanner 
is used in the Phobos development process to help improve code 
quality and fight entropy.


The blog:
https://dlang.org/blog/2018/06/02/driving-continuous-improvement-in-d/

reddit:
https://www.reddit.com/r/programming/comments/8nyzmk/driving_continuous_improvement_in_d/