Re: sqlite support added to sqlbuilder

2024-01-21 Thread Steven Schveighoffer via Digitalmars-d-announce
On Sunday, 21 January 2024 at 21:27:30 UTC, zoujiaqing wrote: Thank you! I want postgresql :) It should be pretty straightforward. I had to rewrite a lot of it to fit the API of sqlite, those changes should make it easier to add postgresql (which is on my todo list). -Steve

Re: sqlite support added to sqlbuilder

2024-01-21 Thread zoujiaqing via Digitalmars-d-announce
On Saturday, 30 December 2023 at 22:11:55 UTC, Steven Schveighoffer wrote: https://code.dlang.org/packages/sqlbuilder This project is something I use extensively in my work project, and allows dynamic building of SQL statements in a way that automatically deals with joins. It also

Re: Preparing for the New DIP Process

2024-01-21 Thread Alexandru Ermicioi via Digitalmars-d-announce
On Sunday, 21 January 2024 at 12:53:22 UTC, zjh wrote: This is `harmless`, you only need to add a keyword, but you meet the `user's` needs. Nope, not harmless. It will have maintenance cost.

Re: Preparing for the New DIP Process

2024-01-21 Thread zjh via Digitalmars-d-announce
On Sunday, 21 January 2024 at 12:53:22 UTC, zjh wrote: `Class level private`, increasing one's own selectivity. Adding `redundancy` has always been what Walter hopes for, `hasn't` it? Moreover, `modules, classes, and variables` private are considered complete. I don't understand why just

Re: Preparing for the New DIP Process

2024-01-21 Thread zjh via Digitalmars-d-announce
On Sunday, 21 January 2024 at 12:17:28 UTC, Dom DiSc wrote: All that's possible with class-private is also possible with module-private. But module-private don't has the friends-issue. Everything is good - you only need to realize that. A file, just `one class`, sometimes I hope so, but

Re: Preparing for the New DIP Process

2024-01-21 Thread Dom DiSc via Digitalmars-d-announce
On Sunday, 21 January 2024 at 11:51:59 UTC, zjh wrote: When you need `friend`, You can put them all in one module. Jup. But putting things in one module won't do anymore if you use class-private. That's why people using it will soon realize they need friends. But friends are a security hole,

Re: Preparing for the New DIP Process

2024-01-21 Thread Dom DiSc via Digitalmars-d-announce
If you have difficulties to see the logic of module-private, think of a module as a flat: If you don't want someone to mess with your private stuff, don't live with him in the same flat! Be ensured, locks on every cupboard won't do. You cannot prevent someone within the same flat from messing

Re: PixelPerfectEngine v0.11.0-alpha release

2024-01-21 Thread Hipreme via Digitalmars-d-announce
On Sunday, 21 January 2024 at 01:24:22 UTC, solidstate1991 wrote: https://github.com/ZILtoid1991/pixelperfectengine/releases/tag/v0.11.0-alpha Two major changes are: 1) Implementation of the M2 format. Due to the lack of any proper MIDI2.0 formats, I decided to implement my own, and also

Re: Preparing for the New DIP Process

2024-01-21 Thread zjh via Digitalmars-d-announce
On Sunday, 21 January 2024 at 11:46:42 UTC, Dom DiSc wrote: It would be ok for me to add `class-private` as is, but only with the guarantee that `friend`s will never be added, no matter how much the people using it cry, because it is sometimes unusable without them. When you need

Re: Preparing for the New DIP Process

2024-01-21 Thread Dom DiSc via Digitalmars-d-announce
On Sunday, 21 January 2024 at 07:52:59 UTC, zjh wrote: On Sunday, 21 January 2024 at 07:51:00 UTC, zjh wrote: You don't know the `pain `of not having a certain feature, And this feature has already been `implemented`, even without `any side effects`! `class-private` is superfluous cruft.

Re: Preparing for the New DIP Process

2024-01-21 Thread claptrap via Digitalmars-d-announce
On Sunday, 21 January 2024 at 07:11:50 UTC, Jordan Wilson wrote: On Saturday, 20 January 2024 at 22:53:15 UTC, privateWHAT wrote: I also suspect those that did prefer class level private (I believe this is what Atila prefers), it's not high on their list of priorities. I wouldn't pay too