On Monday, 12 October 2020 at 00:59:33 UTC, Adam D. Ruppe wrote:
On Monday, 12 October 2020 at 00:46:37 UTC, Imperatorn wrote:
To people trying to learn, why is that % before ( needed in
the format string?
The %( ... %) stuff is expanded and repeated for each element
inside the given array.
On 10/11/20 5:44 PM, Max Haughton wrote:
> Possibly worth showing off (especially given that some people at first
> don't even know the templated format string exists)
This feature is already among my slides for an upcoming conference. ;)
Ali
On Monday, 12 October 2020 at 00:46:37 UTC, Imperatorn wrote:
To people trying to learn, why is that % before ( needed in the
format string?
The %( ... %) stuff is expanded and repeated for each element
inside the given array.
On Sunday, 11 October 2020 at 23:57:31 UTC, Ali Çehreli wrote:
I find D's %( and %) range format specifiers very useful:
import std.stdio;
import std.range;
void main() {
5.iota.writefln!"%(%s, %)"; // Prints 0, 1, 2, 3, 4
}
Are there similar features in other languages?
Thank you,
Ali
T
On Sunday, 11 October 2020 at 23:57:31 UTC, Ali Çehreli wrote:
I find D's %( and %) range format specifiers very useful:
import std.stdio;
import std.range;
void main() {
5.iota.writefln!"%(%s, %)"; // Prints 0, 1, 2, 3, 4
}
Are there similar features in other languages?
Thank you,
Ali
I
I find D's %( and %) range format specifiers very useful:
import std.stdio;
import std.range;
void main() {
5.iota.writefln!"%(%s, %)"; // Prints 0, 1, 2, 3, 4
}
Are there similar features in other languages?
Thank you,
Ali
I think I'm using way to much memory for pointers, so I'd like to
see how much of my memory usage is taken up by pointers. I've
calculated the answer, but I wonder if the compiler/runtime could
do it for me, to get a faster and more exact number?
On Sunday, 11 October 2020 at 11:56:29 UTC, Robert M. Münch wrote:
Well, for us it's getting more and more clear, that a decision
what to use in the future will be based on less and less
technical aspects.
The interesting thing about Go is, that their main focus is
thinking from an enterprise
On Sunday, 11 October 2020 at 11:56:29 UTC, Robert M. Münch wrote:
On 6 Oct 2020 at 10:07:56 CEST, "ddcovery"
wrote:
I found myself in a similar situation recently, and I can't
help but ask you: What technology do you use regularly?
Hi, well we use a couple of different things. Scripting
l
Tk default keys are somewhat different from what we used to use
for selecting, copying and pasting the text. So, any Tk based GUI
app starts with writing the rebinding function for "ctrl+a",
"ctrl+c", "ctrl+x" and "ctrl+v" keys, at least. I did it when
writing TkInter based apps in Python. Toda
On Sun, Oct 11, 2020 at 01:26:13PM +, Alaindevos via Digitalmars-d-learn
wrote:
> Sidenote, sort also not works with static arrays.
Just slice it with [].
T
--
I think the conspiracy theorists are out to get us...
thank you for sharing this information with us...
On Sunday, 11 October 2020 at 11:56:29 UTC, Robert M. Münch wrote:
environment... I don't know about any other language which puts
all these non-technical aspects on the top of the agenda.
Ada, Java, Eiffel are supposed to.
I'm not sure if Go is a success in that department either. I
suspect
Sidenote, sort also not works with static arrays.
On 6 Oct 2020 at 10:07:56 CEST, "ddcovery"
wrote:
> I found myself in a similar situation recently, and I can't help
> but ask you: What technology do you use regularly?
Hi, well we use a couple of different things. Scripting languages, C, Lua,
..
> What drives/draws you to try dlang/vibe.d?
On Sunday, 11 October 2020 at 06:53:59 UTC, Andrey wrote:
Hello,
How to count a number of parameters in uninitialized template
method?
For example:
struct Test
{
void abc(int a, bool status, string text)() {}
{
The method "Test.abc" has three template paramenters.
I know that "Templat
On Sunday, 11 October 2020 at 08:48:16 UTC, Vino wrote:
On Friday, 9 October 2020 at 17:50:16 UTC, Andre Pany wrote:
[...]
Hi Andre,
Thank you very much, now we are able to get the data as
expected using jv["Name"], now when we try to print all the
returned data with Key and Values as bel
On Friday, 9 October 2020 at 17:50:16 UTC, Andre Pany wrote:
On Friday, 9 October 2020 at 05:56:05 UTC, Vino wrote:
On Friday, 9 October 2020 at 05:30:34 UTC, ikod wrote:
On Friday, 9 October 2020 at 01:45:37 UTC, Vino wrote:
On Friday, 2 October 2020 at 23:20:48 UTC, Imperatorn wrote:
On Fri
18 matches
Mail list logo