[Issue 18625] mixin(__MODULE__) in string mixin results in undefined identifier in certain cases

2018-03-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18625 ag0aep6g changed: What|Removed |Added CC||ag0ae...@gmail.com

Re: how to make private class member private

2018-03-17 Thread Amorphorious via Digitalmars-d-learn
On Saturday, 17 March 2018 at 23:54:22 UTC, psychoticRabbit wrote: On Saturday, 17 March 2018 at 21:33:01 UTC, Adam D. Ruppe wrote: On Saturday, 17 March 2018 at 21:22:44 UTC, arturg wrote: maybe extend that to a list of types? this is basically what C++ friend does and D was trying to

[Issue 18626] New: std.traits.fullyQualifiedName on value results in T instead of error

2018-03-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18626 Issue ID: 18626 Summary: std.traits.fullyQualifiedName on value results in T instead of error Product: D Version: D2 Hardware: x86 OS: Windows

Re: How to enable verbose logging during application run

2018-03-17 Thread Venkat via Digitalmars-d-learn
Sorry posted the above message by accident. I am running a vibed app using `dub` command. But it produces no logging what so ever when requests are made. The server returns http error codes but it doesn't log anything to the console. How do I make it show me a lot more detail than it is doing

Re: how to make private class member private

2018-03-17 Thread psychoticRabbit via Digitalmars-d-learn
On Saturday, 17 March 2018 at 21:33:01 UTC, Adam D. Ruppe wrote: On Saturday, 17 March 2018 at 21:22:44 UTC, arturg wrote: maybe extend that to a list of types? this is basically what C++ friend does and D was trying to avoid the complexity of Really, the complexity of 'friend' comes from

[Issue 15660] break immutable with pure function and mutable reference params

2018-03-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15660 --- Comment #7 from Walter Bright --- https://github.com/dlang/dmd/pull/8048 --

Re: D beyond the specs

2018-03-17 Thread Walter Bright via Digitalmars-d
On 3/17/2018 1:02 PM, Laeeth Isharc wrote: Anyway I asked Walter about why so many Germans in the D community.  No final answer.  It's interesting that Walter is of German descent.  A controversial topic, but in my experience what you are from shapes who you are, how you think and what you

How to enable verbose logging during application run

2018-03-17 Thread Venkat via Digitalmars-d-learn
I am running a vibed app using `dub` command. But it produces no logging what so ever when re

[Issue 17423] pointer assignment to `this` in member function is not accounted for

2018-03-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17423 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 17423] pointer assignment to `this` in member function is not accounted for

2018-03-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17423 --- Comment #9 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/9fbf0611d2ef4174597470834cb6e356f791468a fix Issue 17423 - pointer assignment to in member function

Re: How to enable verbose logging during application run

2018-03-17 Thread Venkat via Digitalmars-d-learn
Thankyou.

Re: How to enable verbose logging during application run

2018-03-17 Thread rjframe via Digitalmars-d-learn
On Sat, 17 Mar 2018 22:37:36 +, Venkat wrote: > Sorry posted the above message by accident. > > I am running a vibed app using `dub` command. But it produces no logging > what so ever when requests are made. The server returns http error codes > but it doesn't log anything to the console.

Re: Ecoji-d v1.0.0 is released - Base1024 using emojis 

2018-03-17 Thread Faux Amis via Digitalmars-d-announce
On 2018-03-14 18:30, Anton Fediushin wrote: , I'm glad to announce that ecoji-d - pure D implementation of ecoji encoding version 1️⃣.0️⃣.0️⃣ is finally released❗ What is ecoji? Ecoji encodes data as base1024 with an emoji character set. It can be used instead of boring and old base64 冷冷冷.

[Issue 15660] break immutable with pure function and mutable reference params

2018-03-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15660 Walter Bright changed: What|Removed |Added Summary|break "immutable" with pure |break immutable

Re: how to make private class member private

2018-03-17 Thread psychoticRabbit via Digitalmars-d-learn
On Saturday, 17 March 2018 at 14:16:19 UTC, bauss wrote: I don't like the name @deny . how about: @reallyis private string firstName_; mmm..perhaps not... then how about... @strictly private string firstName_;

Re: how to make private class member private

2018-03-17 Thread bauss via Digitalmars-d-learn
On Saturday, 17 March 2018 at 15:02:21 UTC, psychoticRabbit wrote: On Saturday, 17 March 2018 at 14:16:19 UTC, bauss wrote: I don't like the name @deny . how about: @reallyis private string firstName_; mmm..perhaps not... then how about... @strictly private string firstName_; Still

Re: how to make private class member private

2018-03-17 Thread Adam D. Ruppe via Digitalmars-d-learn
On Saturday, 17 March 2018 at 21:22:44 UTC, arturg wrote: maybe extend that to a list of types? this is basically what C++ friend does and D was trying to avoid the complexity of

[Issue 15624] opApply with @safe and @system variants can't be used with foreach syntax

2018-03-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15624 --- Comment #2 from Walter Bright --- https://github.com/dlang/dmd/pull/8047 --

Re: CTFE ^^ (pow)

2018-03-17 Thread ketmar via Digitalmars-d
Manu wrote: What is so hard about implementing a pow intrinsic that CTFE can use? It's ridiculous that we can't CTFE any non-linear function... It's one of those blocker bugs that's been there almost 10 years. nobody bothered. it is all done by intercepting calls in CTFE engine (using FQN

Re: Ecoji-d v1.0.0 is released - Base1024 using emojis 

2018-03-17 Thread Manu via Digitalmars-d-announce
On 15 March 2018 at 11:45, Anton Fediushin via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote: > > Even though each emoji is 4 bytes long, there is a noticable difference in > size when we are talking about larger chunks of data: > This doesn't make sense. For every 10

[Issue 18199] Error with lambda in struct initializer

2018-03-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18199 --- Comment #3 from John Belmonte --- I'm trying to locate relevant code in the dmd source code, any pointers would be appreciated. The emitted "Deprecation: use { } for an empty statement, not ;" error is telling. We can infer

[Issue 18325] `dmd/core/exception.d(686): _store is thread local` when building dmd

2018-03-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18325 John Belmonte changed: What|Removed |Added CC||j...@neggie.net --

CTFE ^^ (pow)

2018-03-17 Thread Manu via Digitalmars-d
What is so hard about implementing a pow intrinsic that CTFE can use? It's ridiculous that we can't CTFE any non-linear function... It's one of those blocker bugs that's been there almost 10 years.

How to build static linked executable

2018-03-17 Thread zunkree via Digitalmars-d-learn
Hi, Is there a way to build static linked executable with dub for vibe-d based app? Regards, zunkree

Re: D beyond the specs

2018-03-17 Thread Laeeth Isharc via Digitalmars-d
On Saturday, 17 March 2018 at 16:26:27 UTC, Guillaume Piolat wrote: While France is all about status (titles, living well over your means), and people prefer to learn "high-status" languages, I guess this is the profile of late adopters everywhere. Yes, status seems one of the most important

Re: User Stories: Funkwerk

2018-03-17 Thread Jonathan M Davis via Digitalmars-d-announce
On Saturday, March 17, 2018 20:12:08 bauss via Digitalmars-d-announce wrote: > On Saturday, 17 March 2018 at 19:54:07 UTC, Jonathan M Davis > > wrote: > > On Saturday, March 17, 2018 12:48:07 bauss via > > > > Digitalmars-d-announce wrote: > >> On Friday, 16 March 2018 at 19:42:11 UTC, Rubn wrote:

Re: how to make private class member private

2018-03-17 Thread arturg via Digitalmars-d-learn
On Saturday, 17 March 2018 at 14:16:19 UTC, bauss wrote: I don't like the name @deny, personally I would rather see the private attribute changed to something like: private(true) // The member is oly visible to its parent. private(false) // Same as just "private", visible to whole module.

Re: D beyond the specs

2018-03-17 Thread Laeeth Isharc via Digitalmars-d
On Friday, 16 March 2018 at 18:38:44 UTC, Aurélien Plazzotta wrote: On Friday, 16 March 2018 at 11:44:59 UTC, Chris wrote: Would it be possible to find out at DConf in Munich why exactly D is so popular in Germany (my impression) and in other countries of Europe (and that general post code)

Re: Convert output range to input range

2018-03-17 Thread David Nadlinger via Digitalmars-d-learn
On Friday, 16 March 2018 at 07:57:04 UTC, John Chapman wrote: I need to write to a range created with outputRangeObject, then read from it. Is there a way to convert it to an input range? Could you illustrate your problem a bit further? In the literal sense, converting from an output to an

[Issue 18624] getSymbolsByUDA produces wrong result if one of the symbols having the UDA is a function

2018-03-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18624 spoov0@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: D beyond the specs

2018-03-17 Thread Guillaume Piolat via Digitalmars-d
On Friday, 16 March 2018 at 14:50:26 UTC, Paulo Pinto wrote: Well, Algol, Pascal, Oberon, Component Pascal, VHDL, Ada are all examples of programming languages successfully used in Europe, while having adoption issues on US. It's even stranger for Ada because AFAIK it was invented for US

Re: Can't add ubytes together to make a ubyte... bug or feature?

2018-03-17 Thread Dominikus Dittes Scherkl via Digitalmars-d-learn
On Saturday, 17 March 2018 at 18:36:35 UTC, Jonathan wrote: On Tuesday, 19 January 2016 at 23:36:14 UTC, Adam D. Ruppe wrote: On Tuesday, 19 January 2016 at 22:12:06 UTC, Soviet Friend wrote: I don't care if my computer needs to do math on a 4 byte basis, I'm not writing assembly. x86

[Issue 18555] getSymbolsByUDA has strange behaviour on modules

2018-03-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18555 spoov0@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC|

Re: D beyond the specs

2018-03-17 Thread Guillaume Piolat via Digitalmars-d
On Friday, 16 March 2018 at 18:38:44 UTC, Aurélien Plazzotta wrote: Also, french citizens don't like taking financial and technological risks, now adopting D for professionnal use is a big one. A friend of mine has heard about D for about ten years. I've been bothering people for a while.

Re: Convert output range to input range

2018-03-17 Thread John Chapman via Digitalmars-d-learn
On Saturday, 17 March 2018 at 17:16:40 UTC, David Nadlinger wrote: On Friday, 16 March 2018 at 07:57:04 UTC, John Chapman wrote: I need to write to a range created with outputRangeObject, then read from it. Is there a way to convert it to an input range? Could you illustrate your problem a

Re: User Stories: Funkwerk

2018-03-17 Thread Jonathan M Davis via Digitalmars-d-announce
On Saturday, March 17, 2018 12:48:07 bauss via Digitalmars-d-announce wrote: > On Friday, 16 March 2018 at 19:42:11 UTC, Rubn wrote: > > On Wednesday, 14 March 2018 at 14:17:50 UTC, Mike Parker wrote: > >> foreach(auto element: elements) > > > > ":" is C++ syntax > > Also "auto" can be omitted. >

Re: Can't add ubytes together to make a ubyte... bug or feature?

2018-03-17 Thread Ali Çehreli via Digitalmars-d-learn
On 03/17/2018 11:36 AM, Jonathan wrote: `(a+b)&0xff` What is this syntax?!  Could you give a link to this in the D documentation? Here is my description of bitwise AND: http://ddili.org/ders/d.en/bit_operations.html#ix_bit_operations.&,%20bitwise%20and The section titled "Masking" on the

[Issue 18624] getSymbolsByUDA produces wrong result if one of the symbols having the UDA is a function

2018-03-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18624 Simen Kjaeraas changed: What|Removed |Added CC|

Re: Disallowing the creation of objects using new should have default object functions and parent functions be @nogc by definition.

2018-03-17 Thread Adam D. Ruppe via Digitalmars-d
On Saturday, 17 March 2018 at 13:30:25 UTC, 12345swordy wrote: Does anyone dispute this? I don't really see how this would help anything.

[Issue 18623] Documented unittest should not allow private symbol access

2018-03-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18623 greenify changed: What|Removed |Added CC||greeen...@gmail.com ---

Re: How to build static linked executable

2018-03-17 Thread Seb via Digitalmars-d-learn
On Saturday, 17 March 2018 at 14:44:42 UTC, zunkree wrote: Hi, Is there a way to build static linked executable with dub for vibe-d based app? Regards, zunkree Yes, use -static Here's how we build the DTour: https://github.com/dlang-tour/core/blob/master/dub.sdl

Re: How to build static linked executable

2018-03-17 Thread Seb via Digitalmars-d-learn
On Saturday, 17 March 2018 at 15:42:06 UTC, Seb wrote: On Saturday, 17 March 2018 at 14:44:42 UTC, zunkree wrote: Hi, Is there a way to build static linked executable with dub for vibe-d based app? Regards, zunkree Yes, use -static Here's how we build the DTour:

Re: D beyond the specs

2018-03-17 Thread Walter Bright via Digitalmars-d
On 3/17/2018 4:28 AM, Arjan wrote: On Friday, 16 March 2018 at 19:27:40 UTC, Walter Bright wrote: My old company's product, Zortech C++, was also very popular in Germany, England, and Japan. I don't know why. And a certain spot in the Netherlands, because at the time it outperformed all the

Re: Can't add ubytes together to make a ubyte... bug or feature?

2018-03-17 Thread bauss via Digitalmars-d-learn
On Saturday, 17 March 2018 at 18:56:55 UTC, Dominikus Dittes Scherkl wrote: On Saturday, 17 March 2018 at 18:36:35 UTC, Jonathan wrote: On Tuesday, 19 January 2016 at 23:36:14 UTC, Adam D. Ruppe wrote: On Tuesday, 19 January 2016 at 22:12:06 UTC, Soviet Friend wrote: I don't care if my

[Issue 18625] New: mixin(__MODULE__) in string mixin results in undefined identifier in certain cases

2018-03-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18625 Issue ID: 18625 Summary: mixin(__MODULE__) in string mixin results in undefined identifier in certain cases Product: D Version: D2 Hardware: x86 OS: Windows

[Issue 18199] Error with lambda in struct initializer

2018-03-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18199 John Belmonte changed: What|Removed |Added CC||j...@neggie.net ---

Re: Can't add ubytes together to make a ubyte... bug or feature?

2018-03-17 Thread Jonathan via Digitalmars-d-learn
On Tuesday, 19 January 2016 at 23:36:14 UTC, Adam D. Ruppe wrote: On Tuesday, 19 January 2016 at 22:12:06 UTC, Soviet Friend wrote: I don't care if my computer needs to do math on a 4 byte basis, I'm not writing assembly. x86 actually doesn't need to do math that way, if you were writing

Re: User Stories: Funkwerk

2018-03-17 Thread bauss via Digitalmars-d-announce
On Saturday, 17 March 2018 at 19:54:07 UTC, Jonathan M Davis wrote: On Saturday, March 17, 2018 12:48:07 bauss via Digitalmars-d-announce wrote: On Friday, 16 March 2018 at 19:42:11 UTC, Rubn wrote: > On Wednesday, 14 March 2018 at 14:17:50 UTC, Mike Parker > wrote: >> foreach(auto element:

Re: D beyond the specs

2018-03-17 Thread greentea via Digitalmars-d
On Saturday, 17 March 2018 at 20:17:17 UTC, Laeeth Isharc wrote: ... A small group, drawn to do something for intrinsic reasons starts to create something. And they get no face because it seems completely unrealistic and in truth the odds are very much against success. But they create

Re: OT: Behaviour of Experienced Programmers Towards Newcomers

2018-03-17 Thread rumbu via Digitalmars-d
On Saturday, 17 March 2018 at 06:46:17 UTC, Uknown wrote: I haven't really noticed any of what he mentions in the D community 3 days ago: https://forum.dlang.org/post/ylngefsfuwqodaprw...@forum.dlang.org

Re: OT: Behaviour of Experienced Programmers Towards Newcomers

2018-03-17 Thread psychoticRabbit via Digitalmars-d
On Saturday, 17 March 2018 at 07:01:53 UTC, rumbu wrote: 3 days ago: https://forum.dlang.org/post/ylngefsfuwqodaprw...@forum.dlang.org yeah...but that presumes Amorphorious is an 'expert programmer'. which is not the impression I got ;-)

Re: OT: Behaviour of Experienced Programmers Towards Newcomers

2018-03-17 Thread Jonathan M Davis via Digitalmars-d
On Saturday, March 17, 2018 07:01:53 rumbu via Digitalmars-d wrote: > On Saturday, 17 March 2018 at 06:46:17 UTC, Uknown wrote: > I haven't really noticed any of what he > > > mentions in the D community > > 3 days ago: > > https://forum.dlang.org/post/ylngefsfuwqodaprw...@forum.dlang.org

OT: Behaviour of Experienced Programmers Towards Newcomers

2018-03-17 Thread Uknown via Digitalmars-d
https://opensource.com/article/18/3/avoid-humiliating-newcomers Its a blog post about how sometimes expert programmers treat newcomers badly. I haven't really noticed any of what he mentions in the D community, as most of the regular members are very polite and friendly, but I thought it was

Re: Convert output range to input range

2018-03-17 Thread Dukc via Digitalmars-d-learn
On Friday, 16 March 2018 at 08:07:09 UTC, Jonathan M Davis wrote: For instance, std.array.Appender is an output range, and you get a dynamic array out of it, which would be an input range. So, if you have control over what output range you're dealing with, the simplest would be to just use

Re: Convert output range to input range

2018-03-17 Thread Jonathan M Davis via Digitalmars-d-learn
On Saturday, March 17, 2018 06:58:04 Dukc via Digitalmars-d-learn wrote: > On Friday, 16 March 2018 at 08:07:09 UTC, Jonathan M Davis wrote: > > For instance, std.array.Appender is an output range, and you > > get a dynamic array out of it, which would be an input range. > > So, if you have

Re: OT: Behaviour of Experienced Programmers Towards Newcomers

2018-03-17 Thread psychoticRabbit via Digitalmars-d
On Saturday, 17 March 2018 at 07:16:22 UTC, Jonathan M Davis wrote: Unfortunately, we do periodically have folks act like that around here, but fortunately, for the most part, it's folks who don't stick around long, and our regular posters are generally well-behaved. - Jonathan M Davis

Re: OT: Behaviour of Experienced Programmers Towards Newcomers

2018-03-17 Thread bauss via Digitalmars-d
On Saturday, 17 March 2018 at 07:16:22 UTC, Jonathan M Davis wrote: On Saturday, March 17, 2018 07:01:53 rumbu via Digitalmars-d wrote: On Saturday, 17 March 2018 at 06:46:17 UTC, Uknown wrote: I haven't really noticed any of what he > mentions in the D community 3 days ago:

[Issue 18623] New: Documented unittest should not allow private symbol access

2018-03-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18623 Issue ID: 18623 Summary: Documented unittest should not allow private symbol access Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW

Re: Vision document for H1 2018

2018-03-17 Thread Greatsam4sure via Digitalmars-d-announce
On Sunday, 11 March 2018 at 04:06:13 UTC, Nick Sabalausky (Abscissa) wrote: On 03/10/2018 05:47 AM, Dylan Graham wrote: On Saturday, 10 March 2018 at 10:05:49 UTC, rumbu wrote: According to the State of D Survey, 71% of the respondents don't care about betterC. Why is betterC on the priority

Logging Function Parameters

2018-03-17 Thread dom via Digitalmars-d-learn
Hi, I am looking for a method to log the current function name + parameters. Getting the name of the current function is simply possible with __PRETTY_FUNCTION__ Is there some possibility to generically access the parameters of a function such that they can be iterated and printed out?

Re: how to make private class member private

2018-03-17 Thread psychoticRabbit via Digitalmars-d-learn
On Saturday, 17 March 2018 at 09:18:13 UTC, Nick Treleaven wrote: It's a language design decision as to whether a particular feature is worth supporting. I would like this feature too though. I'm not sure how much compiler complexity would be added by having another visibility modifier. D

Re: D beyond the specs

2018-03-17 Thread Arjan via Digitalmars-d
On Friday, 16 March 2018 at 19:27:40 UTC, Walter Bright wrote: On 3/16/2018 4:44 AM, Chris wrote: Would it be possible to find out at DConf in Munich why exactly D is so popular in Germany (my impression) and in other countries of Europe (and that general post code) like France, Italy, GB,

Re: D beyond the specs

2018-03-17 Thread Ola Fosheim Grøstad via Digitalmars-d
On Friday, 16 March 2018 at 14:50:26 UTC, Paulo Pinto wrote: Well, Algol, Pascal, Oberon, Component Pascal, VHDL, Ada are all examples of programming languages successfully used in Europe, while having adoption issues on US. There are some historical roots, I believe. In the 60s and 70s

Re: D beyond the specs

2018-03-17 Thread Ola Fosheim Grøstad via Digitalmars-d
On Saturday, 17 March 2018 at 08:48:45 UTC, Ola Fosheim Grøstad wrote: Anyway, cultural change is slow. Even though the 70s is far away, it still probably has an effect on culture and attitudes in universities and the tech sector. In the late 80s I was quite surprised that Danish computing

Re: D beyond the specs

2018-03-17 Thread Ola Fosheim Grøstad via Digitalmars-d
On Friday, 16 March 2018 at 22:25:50 UTC, jmh530 wrote: This sort of analysis applies to programming languages in exactly the same way. If I'm a company, do I build products using language X or language Y. If I'm a person, do I spend N hours learning language X or language Y (or do the next

Re: how to make private class member private

2018-03-17 Thread Nick Treleaven via Digitalmars-d-learn
On Tuesday, 13 March 2018 at 05:11:48 UTC, psychoticRabbit wrote: If you have access to the module source, you have access to the source of types inside it. Making the module the lowest level of encapsulation makes sense from that perspective. There are two problems I see: 1st - D has broken

Re: D beyond the specs

2018-03-17 Thread Ola Fosheim Grøstad via Digitalmars-d
On Friday, 16 March 2018 at 22:43:57 UTC, Chris wrote: Most interesting! I'm not kidding. Is it 'wow it's from the US', or something else? Genuine question. I ain't asking for fun. There's more to business and technology than meets the eye. I don't know about compilers specifically, but the

Re: D beyond the specs

2018-03-17 Thread Thomas Mader via Digitalmars-d
On Friday, 16 March 2018 at 11:44:59 UTC, Chris wrote: Would it be possible to find out at DConf in Munich why exactly D is so popular in Germany (my impression) and in other countries of Europe (and that general post code) like France, Italy, GB, Romania and Russia etc.? My guess is that it

Re: how to make private class member private

2018-03-17 Thread Nick Treleaven via Digitalmars-d-learn
On Tuesday, 13 March 2018 at 13:59:00 UTC, Steven Schveighoffer wrote: If you limit to class members, then you have to do something like C++ friends, which are unnecessarily verbose. Not if you also have a module-level visibility modifier, which could have been `module`. IMO, the

Re: D beyond the specs

2018-03-17 Thread Ola Fosheim Grøstad via Digitalmars-d
On Saturday, 17 March 2018 at 09:31:58 UTC, Ola Fosheim Grøstad wrote: I don't know about compilers specifically, but the big distributors in Europe charged some hefty margins on their imports. So pricing in US was often much lower than here... When I think of it, the distributors probably

Re: OT: Behaviour of Experienced Programmers Towards Newcomers

2018-03-17 Thread Joakim via Digitalmars-d
On Saturday, 17 March 2018 at 07:01:53 UTC, rumbu wrote: On Saturday, 17 March 2018 at 06:46:17 UTC, Uknown wrote: I haven't really noticed any of what he mentions in the D community 3 days ago: https://forum.dlang.org/post/ylngefsfuwqodaprw...@forum.dlang.org That guy's some nutjob who

[Issue 18623] Documented unittest should not allow private symbol access

2018-03-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18623 Alex changed: What|Removed |Added CC||sascha.or...@gmail.com --

Re: Vision document for H1 2018

2018-03-17 Thread bauss via Digitalmars-d-announce
On Friday, 16 March 2018 at 19:08:47 UTC, Nick Sabalausky (Abscissa) wrote: On 03/16/2018 02:35 PM, Tony wrote: On Friday, 16 March 2018 at 15:04:21 UTC, Kagamin wrote: On Thursday, 15 March 2018 at 16:03:14 UTC, rumbu wrote: Are you sure that you are talking about phobos and not tango? :)

Re: User Stories: Funkwerk

2018-03-17 Thread bauss via Digitalmars-d-announce
On Friday, 16 March 2018 at 19:42:11 UTC, Rubn wrote: On Wednesday, 14 March 2018 at 14:17:50 UTC, Mike Parker wrote: foreach(auto element: elements) ":" is C++ syntax Also "auto" can be omitted. foreach (element; elements)

[Issue 18624] New: getSymbolsByUDA produces wrong result if one of the symbols having the UDA is a function

2018-03-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18624 Issue ID: 18624 Summary: getSymbolsByUDA produces wrong result if one of the symbols having the UDA is a function Product: D Version: D2 Hardware: All OS: All

Disallowing the creation of objects using new should have default object functions and parent functions be @nogc by definition.

2018-03-17 Thread 12345swordy via Digitalmars-d
It makes no sense otherwise. This logically implies that manual memory management is required, yet there is a possibility that the parent of the class may use the garbage collection. Which in this case, it begs the question on why the GC is forbid in the first place. Does anyone dispute

Re: how to make private class member private

2018-03-17 Thread bauss via Digitalmars-d-learn
On Saturday, 17 March 2018 at 11:08:27 UTC, psychoticRabbit wrote: On Saturday, 17 March 2018 at 09:18:13 UTC, Nick Treleaven wrote: It's a language design decision as to whether a particular feature is worth supporting. I would like this feature too though. I'm not sure how much compiler