October 13, 2020
On Tuesday, 13 October 2020 at 15:02:08 UTC, Alaindevos wrote:
> What is weird is that rails is THE ruby application , that flask is the python application, and that dlang can't have something like that in their standard library.
> An opportunity missed.
> On the other hand I don't understand the interest in Java/swing when there is a good working gtkd which is a good working and beautiful framework.

What exactly do you want to do with vibe.d that it can't anyway?
October 13, 2020
On 12 Oct 2020 at 21:58:12 CEST, "Ola Fosheim Grøstad" <ola.fosheim.grostad@gmail.com> wrote:

> On Monday, 12 October 2020 at 11:06:55 UTC, Robert M. Münch wrote:
>>  Go seems to be kept as simple as possible, even if you have to
>>  write more code. Which is, in the long run, the cheaper and
>>  smaller burden. No tricks, no surprises... that has a lot of
>>  merits.
> 
> Btw, Go has some major weaknesses related to tricks and surprises:

I don't expect Go to be perfect and as with every language you need to get a good sense of the dark corners. At least it looks like there are not so many of them, and as long as you are doing "normal" stuff you won't be bitten too frequent.

-- 
Robert M. Münch
http://www.saphirion.com
smarter | better | faster


October 13, 2020
I find the code with @ ugly. But i know this is not a good argument. Maybe the glue could have been done better. I think there is a lot of functionality but I don't understand it by looking at the code which you easily can with flask or rails.
October 13, 2020
On 13 Oct 2020 at 09:57:14 CEST, "aberba" <karabutaworld@gmail.com> wrote:

> D is a great language that is capable of solving any problem easier than what it'll take to do in equivalent languages.

Don't get me wrong, D is great, it has a lot of technically cool things on board.

As said, those technical things won't be our major decision aspect. The non-technical aspects are more important when looking from a company perspective.

> D is a language you learn once and use every.

The question is: Which language and eco-system take how much time to learn to become productive? As team? How to handle a code-base that requires multi-year maintenance?

> Just hope the  ecosystem gets better to meet business needs...

Well, from a business perspective "hope" is a very bad advisor.

-- 
Robert M. Münch
http://www.saphirion.com
smarter | better | faster


October 13, 2020
On Tuesday, 13 October 2020 at 17:08:04 UTC, Robert M. Münch wrote:
> On 13 Oct 2020 at 09:57:14 CEST, "aberba" <karabutaworld@gmail.com> wrote:
>
>> D is a great language that is capable of solving any problem easier than what it'll take to do in equivalent languages.
>
> Don't get me wrong, D is great, it has a lot of technically cool things on board.
>
> As said, those technical things won't be our major decision aspect. The non-technical aspects are more important when looking from a company perspective.
>
>> D is a language you learn once and use every.
>
> The question is: Which language and eco-system take how much time to learn to become productive? As team? How to handle a code-base that requires multi-year maintenance?
>
>> Just hope the  ecosystem gets better to meet business needs...
>
> Well, from a business perspective "hope" is a very bad advisor.

My opinion: D really shines when it comes to long code base maintenance. It is easy to write beautiful, expressive and high quality code.

While there could be more native D libraries, please do not forget that you can use easily any (battle tested) C library by having a minimal D wrapper. Everything I needed, I was always able to find s.th. (Kafka, Parquet, AWS, Azure).

From a business perspective, using D is a success story.

Kind regards
Andre

October 14, 2020
One concept at a time.
This is one of the simplest examples in vibe.d.
I look for the code for the same functionality but without authentication/login.
https://github.com/vibe-d/vibe.d/blob/master/examples/web/source/app.d
Where are the @ lines explained ?
October 14, 2020
On Wednesday, 14 October 2020 at 12:29:24 UTC, Alaindevos wrote:
> One concept at a time.
> This is one of the simplest examples in vibe.d.
> I look for the code for the same functionality but without authentication/login.
> https://github.com/vibe-d/vibe.d/blob/master/examples/web/source/app.d
> Where are the @ lines explained ?

While this is already a sophisticated example and you might look for a simpler one (app skeleton/http server) I really like this example.
You can read the source code like a story and the comments actually described the purposes of the @ UDAs.

(They are also new for me, I only use the WebSocket server part of Vibe.d so far).

Kind regards
Andre
October 14, 2020
Is there an example just more functional then skeleton http server ?
Sending data to the server and back .
October 14, 2020
forms.
October 17, 2020
On Wednesday, 14 October 2020 at 15:11:29 UTC, Alaindevos wrote:
> Is there an example just more functional then skeleton http server ?
> Sending data to the server and back .

If you're having vibe.d trouble and can't get a quick response, jump in the discord. We're there to help?