On Monday, 8 August 2022 at 00:11:33 UTC, pascal111 wrote:
I don't have specific code but it was a general notice. Take
Python as in example, the same program in Python doesn't cost
much code as D code, and of course by putting in accounts that
that I assume that there are some special tasks
On Sunday, 7 August 2022 at 16:01:08 UTC, pascal111 wrote:
It's clear by working with D that it has the same bad point
like Pascal language; the "verbosity". Is there any plans in
future to make some shorthanded techniques that clean verbosity
from D?
In most cases this is a false
On Monday, 8 August 2022 at 00:40:11 UTC, TTK Ciar wrote:
On the other hand, I've noticed that D's idiomatic brevity can
be diluted by the extremely verbose function names used in the
standard library.
For long function names you can define short aliases, for syntax
you can't. So having
On Monday, 8 August 2022 at 00:11:33 UTC, pascal111 wrote:
I don't have specific code but it was a general notice. Take
Python as in example, the same program in Python doesn't cost
much code as D code, and of course by putting in accounts that
that I assume that there are some special tasks D
On Monday, 8 August 2022 at 00:18:12 UTC, Emanuele Torre wrote:
On Monday, 8 August 2022 at 00:11:33 UTC, pascal111 wrote:
[...]
You are just sounding like a troll now...
"troll" :) I like it!
That makes no sense:
"I assume that there are some special tasks D can do, while
Python can't
On Monday, 8 August 2022 at 00:15:48 UTC, pascal111 wrote:
On Sunday, 7 August 2022 at 23:44:26 UTC, Emanuele Torre wrote:
On Sunday, 7 August 2022 at 23:31:45 UTC, pascal111 wrote:
On Sunday, 7 August 2022 at 22:16:55 UTC, Emanuele Torre
wrote:
[...]
It seems complex, I didn't get it yet,
there any plans in
future to make some shorthanded techniques that clean
verbosity from D?
Quote: "In terms of functionality, Pascal is pretty much
exactly the same as C, except with some sanity-conserving
restrictions on one hand, and more verbose syntax on the
other. It was a
On Sunday, 7 August 2022 at 23:44:26 UTC, Emanuele Torre wrote:
On Sunday, 7 August 2022 at 23:31:45 UTC, pascal111 wrote:
On Sunday, 7 August 2022 at 22:16:55 UTC, Emanuele Torre wrote:
[...]
It seems complex, I didn't get it yet, I wished I didn't ask
about it :)
It's really trivial.
techniques that clean
verbosity from D?
Quote: "In terms of functionality, Pascal is pretty much
exactly the same as C, except with some sanity-conserving
restrictions on one hand, and more verbose syntax on the
other. It was an okay language for the time when it was
popular, and I would giv
On Sunday, 7 August 2022 at 16:01:08 UTC, pascal111 wrote:
It's clear by working with D that it has the same bad point
like Pascal language; the "verbosity". Is there any plans in
future to make some shorthanded techniques that clean verbosity
from D?
Quote: "In terms o
On Sunday, 7 August 2022 at 23:44:26 UTC, Emanuele Torre wrote:
int[] arr = { 10, 12, 14 };
Oops, this is C++, not D: `int arr[] = { 10, 12, 14 };` =)
On Sunday, 7 August 2022 at 23:31:45 UTC, pascal111 wrote:
On Sunday, 7 August 2022 at 22:16:55 UTC, Emanuele Torre wrote:
On Sunday, 7 August 2022 at 20:15:05 UTC, pascal111 wrote:
What destructuring binds? I didn't hear about that before.
```C++
#include
struct Point {
int x, y;
};
On Sunday, 7 August 2022 at 22:16:55 UTC, Emanuele Torre wrote:
On Sunday, 7 August 2022 at 20:15:05 UTC, pascal111 wrote:
What destructuring binds? I didn't hear about that before.
```C++
#include
struct Point {
int x, y;
};
Point add_points(const Point& a, const Point& b)
{
On Sunday, 7 August 2022 at 20:15:05 UTC, pascal111 wrote:
What destructuring binds? I didn't hear about that before.
```C++
#include
struct Point {
int x, y;
};
Point add_points(const Point& a, const Point& b)
{
return { a.x + b.x, a.y + b.y };
}
int main()
{
const auto [x, y]
that clean
verbosity from D?
That's not clear to me at all, and your Pascal example about a
feature that C and D both have, that doesn't help either. Post
some code that seems particularly verbose to you. I think
'library code' tends to grow attributes like mushrooms, and
that D gets longer wh
On Sunday, 7 August 2022 at 16:01:08 UTC, pascal111 wrote:
It's clear by working with D that it has the same bad point
like Pascal language; the "verbosity". Is there any plans in
future to make some shorthanded techniques that clean verbosity
from D?
That's not clear to me at all
It's clear by working with D that it has the same bad point like
Pascal language; the "verbosity". Is there any plans in future to
make some shorthanded techniques that clean verbosity from D?
Quote: "In terms of functionality, Pascal is pretty much exactly
the same as C, e
17 matches
Mail list logo