Re: Wed Oct 17 - Avoiding Code Smells by Walter Bright

2018-11-02 Thread unprotected-entity via Digitalmars-d-announce
On Saturday, 3 November 2018 at 00:44:15 UTC, Laeeth Isharc wrote: When one encounters a new idea that's unfamiliar sometimes it's easy to think that because it's unfamiliar it must be unsound. That can be a mistake. It might be better to suspend judgement for a while and keep an open mind.

Re: Wed Oct 17 - Avoiding Code Smells by Walter Bright

2018-11-02 Thread Ali Çehreli via Digitalmars-d-announce
On 11/02/2018 03:18 AM, ShadoLight wrote: > Maybe you are thinking of the "Prefer non-member non-friend functions to > member functions" rule from Herb Sutter's "Effective C++" books? Scott Meyers. Ali

Re: Wed Oct 17 - Avoiding Code Smells by Walter Bright

2018-11-02 Thread Laeeth Isharc via Digitalmars-d-announce
On Thursday, 1 November 2018 at 22:37:59 UTC, unprotected-entity wrote: On Thursday, 1 November 2018 at 03:10:22 UTC, H. S. Teoh wrote: Actually, code within a module *should* be tightly coupled and cohesive -- that's the whole reason to put that code inside a single module in the first

Re: LDC 1.13.0-beta1

2018-11-02 Thread bachmeier via Digitalmars-d-announce
On Friday, 2 November 2018 at 21:04:13 UTC, kinke wrote: * The Windows packages are now fully self-sufficient, i.e., a Visual Studio/C++ Build Tools installation isn't required anymore. That's a very big deal for me. It will be realistic for R users on Windows to use packages that contain D

Re: Add D front-end, libphobos library, and D2 testsuite... to GCC

2018-11-02 Thread Dibyendu Majumdar via Digitalmars-d-announce
On Monday, 29 October 2018 at 03:43:49 UTC, Mike Parker wrote: Congratulations are in order for Iain Buclaw. His efforts have been rewarded in a big way. Last Friday, he got the greenlight to move forward with submitting his changes into GCC:

Re: Wed Oct 17 - Avoiding Code Smells by Walter Bright

2018-11-02 Thread unprotected-entity via Digitalmars-d-announce
On Friday, 2 November 2018 at 05:29:39 UTC, Neia Neutuladh wrote: It's also not obviously so useful as to merit inclusion. No. I don't say it merits inclusion. I do say it merits discussion, as to its merits. But from what I see, so far, is D, Go, Rust...they are seem to have a love affair

LDC 1.13.0-beta1

2018-11-02 Thread kinke via Digitalmars-d-announce
Glad to announce the first beta for LDC 1.13: * Based on D 2.083.0. * The Windows packages are now fully self-sufficient, i.e., a Visual Studio/C++ Build Tools installation isn't required anymore. * Substantial debug info improvements for GDB. Full release log and downloads:

Re: hunt-entity v2.0.0 released!

2018-11-02 Thread Brian via Digitalmars-d-announce
On Friday, 2 November 2018 at 14:49:00 UTC, Suliman wrote: Entity Query Lanuage Can't understand difference with SQL... You can look JPQL & DQL. EQL use Entity Object to query result.

Re: hunt-entity v2.0.0 released!

2018-11-02 Thread Suliman via Digitalmars-d-announce
Entity Query Lanuage Can't understand difference with SQL...

Re: Release D 2.083.0

2018-11-02 Thread 12345swordy via Digitalmars-d-announce
On Friday, 2 November 2018 at 00:12:29 UTC, Martin Nowak wrote: Glad to announce D 2.083.0, ♥ to the 51 contributors. This release comes with betterC support in dub, new CppRuntime_* version identifiers, an isZeroInit trait, and an exported environment variable DUB_PACKAGE_VERSION during dub

Re: Release D 2.083.0

2018-11-02 Thread Mike Parker via Digitalmars-d-announce
On Friday, 2 November 2018 at 00:12:29 UTC, Martin Nowak wrote: Glad to announce D 2.083.0, ♥ to the 51 contributors. This release comes with betterC support in dub, new CppRuntime_* version identifiers, an isZeroInit trait, and an exported environment variable DUB_PACKAGE_VERSION during dub

Re: printed v0.0.3: a low-level API to generate self-contained PDF/SVG

2018-11-02 Thread Guillaume Piolat via Digitalmars-d-announce
On Monday, 1 October 2018 at 09:34:34 UTC, Guillaume Piolat wrote: printed is a low-level API to generate self-contained PDF 1.4/SVG 1.1 documents hopefully suitable for print. Hello, printed:htmlcolors is a sub-package for parsing HTML color (supporting a subset of CSS Color Module Level

hunt-database v1.0.0 released!

2018-11-02 Thread Brian via Digitalmars-d-announce
hunt-database is a database abstraction layer for D programming language. Support PostgreSQL / MySQL / SQLite. The main features of this version: 1. Add Query module and new QueryBuilder 2. Remove old SqlBuilder 3. Use hunt liked code style 4. Some bugs fixed Github repository:

hunt-entity v2.0.0 released!

2018-11-02 Thread Brian via Digitalmars-d-announce
entity rename to hunt-entity. hunt-entity is an ORM for D programming language, Like java's JPA and PHP's Doctrine2. The main features of this release: 1. Support EQL (Entity Query Lanuage) 2. Support for ManyToMany 3. Replace SqlBuilder with QueryBuilder 4. Update hunt-database version to

Re: Wed Oct 17 - Avoiding Code Smells by Walter Bright

2018-11-02 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Nov 02, 2018 at 10:18:11AM +, ShadoLight via Digitalmars-d-announce wrote: > On Friday, 2 November 2018 at 00:53:52 UTC, H. S. Teoh wrote: > > > > And along that line, recent wisdom is that it's better to move > > things *out* of classes (and structs) if they don't need access to > >

Re: Wed Oct 17 - Avoiding Code Smells by Walter Bright

2018-11-02 Thread ShadoLight via Digitalmars-d-announce
On Friday, 2 November 2018 at 00:53:52 UTC, H. S. Teoh wrote: And along that line, recent wisdom is that it's better to move things *out* of classes (and structs) if they don't need access to private members. (Sorry, I wanted to include a link for this, but I couldn't find the article -- the

Re: usable @nogc Exceptions with Mir Runtime

2018-11-02 Thread 9il via Digitalmars-d-announce
On Friday, 2 November 2018 at 07:00:49 UTC, Manu wrote: On Tue, Oct 30, 2018 at 9:30 AM Oleg via Digitalmars-d-announce wrote: Thanks for your work! > Example > === > /// > @safe pure nothrow @nogc > unittest > { > import mir.exception; > import mir.format; >

Re: usable @nogc Exceptions with Mir Runtime

2018-11-02 Thread Manu via Digitalmars-d-announce
On Tue, Oct 30, 2018 at 9:30 AM Oleg via Digitalmars-d-announce wrote: > > Thanks for your work! > > > Example > > === > > /// > > @safe pure nothrow @nogc > > unittest > > { > > import mir.exception; > > import mir.format; > > try throw new

Re: usable @nogc Exceptions with Mir Runtime

2018-11-02 Thread bauss via Digitalmars-d-announce
On Friday, 2 November 2018 at 05:21:07 UTC, 9il wrote: On Thursday, 1 November 2018 at 10:17:25 UTC, bauss wrote: [...] Well, added at v0.0.8 [1]. Mir Runtime formatting and exceptions are CTFE-able if a msg fits into a local buffer and support user-defined types formatting. Note, that