November 15, 2021

On Monday, 15 November 2021 at 09:28:29 UTC, Imperatorn wrote:

>

It's a bit outdated tho. Tried it?

It's just out of date.
Someone needs to bind it. I'm sure it will attract a lot of users for D.
wxWidgets with D, it must be good.
GUI is a big market.

November 15, 2021

On Monday, 15 November 2021 at 06:18:17 UTC, forkit wrote:

>

But I mean complete novices. Never exposed to a programming language.

There are languages designed for novices, but they seem to be cumbersome for production use.

>

Also, I'm not referring to 'language' complexity per se, but rather 'cognitive' complexity.

Yes, this is an interesting topic. I think new (and old) programmers benefit from writing pseudo code before they write in the implementation language. Basically write the code in their own favourite short-hand english mixed with symbols of their own choice. We could probably learn a lot about preferences if we collected personal "pseudo-code" from a large number of programmers.

I think there is quite a distance between the pseudo-code people choose to write and implementation in a system level language. That in itself suggests to me that "something is missing" in terms of usability. There is clearly room for improvement.

>

Chunking will impact on your capacity to learn and remember.

Others seem more like an "undifferentiated mess of atomic information items".

The visual image can often be noisy, and text editors provide limited tools for visually cleaning up and bringing emphasis to the important parts. Maybe also auto-formatting means that programmers loose a bit of creativity/interest in improving on the visual presentation of code?

>

Ever wondered why C++ is so hard for a novice to learn and remember?

Is it because you cannot fit those "undifferentiated mess of atomic information items" into working memory?

Maybe so, and another factor is that they cannot filter out what is important and what isn't. It is like driving in a busy city. If you seldom do, then it is a scary and taxing experience, pedestrians basically jump out in front of the car... With lots of experience you filter out all noise and laser focus on the critical elements (like kids). If you cannot filter properly then you will "run out of space" in your short term memory.

I probably takes a lot of exposure to get used to the extended use of C++ namespaces, which makes the code look rather cluttered. Might have something to do with visual symbols too. To me namespace::function() looks more like two items than namespace'function(), so that could definitively be a chunking issue. I favour the latter notation for that reason (I think it is used by Ada?).

Also unique usage of mnemonics can help. One issue in D is reusing symbols and keywords for unrelated things. That is obviously making things harder as you now have to associate multiple things with the same visual impression, and that has a cognitive differentiation cost. So simpler visuals do not have to be better.

November 16, 2021

On Monday, 15 November 2021 at 10:21:04 UTC, zjh wrote:

>

On Monday, 15 November 2021 at 09:28:29 UTC, Imperatorn wrote:

>

It's a bit outdated tho. Tried it?

It's just out of date.
Someone needs to bind it. I'm sure it will attract a lot of users for D.
wxWidgets with D, it must be good.
GUI is a big market.

Which of these alternatives do you consider best atm:

https://wiki.dlang.org/GUI_Libraries

November 16, 2021

On Tuesday, 16 November 2021 at 07:15:58 UTC, Imperatorn wrote:

> >

wxWidgets with D, it must be good.
GUI is a big market.

>

https://wiki.dlang.org/GUI_Libraries

Those GUIs are not competitive.
Just wxWidgets is good.
This is the most friendly for programmers.

November 16, 2021

On Tuesday, 16 November 2021 at 07:20:26 UTC, zjh wrote:

>

Just wxWidgets is good.
This is the most friendly for programmers.

wxWidgets's comprehensive ability is the best.

November 16, 2021

On Tuesday, 16 November 2021 at 07:22:16 UTC, zjh wrote:

>

wxWidgets's comprehensive ability is the best.

QT, only DLL.sciter is the same. The rest are too small.
WxWidgets comprehensive, can lib connected, free. Very good.
Maybe we can cooperate with the wxWidgets community.

November 16, 2021

On Tuesday, 16 November 2021 at 07:37:17 UTC, zjh wrote:

> >

wxWidgets's comprehensive ability is the best.

We can also investigate the common binding of python. Then we can bind it again.

November 16, 2021

On Monday, 15 November 2021 at 10:21:04 UTC, zjh wrote:

>

GUI is a big market.

GUI is a warlord scuffle. We just need to bind to the one with the most potential.
We can get a large number of users.

November 16, 2021

On Tuesday, 16 November 2021 at 07:20:26 UTC, zjh wrote:

>

On Tuesday, 16 November 2021 at 07:15:58 UTC, Imperatorn wrote:

> >

wxWidgets with D, it must be good.
GUI is a big market.

>

https://wiki.dlang.org/GUI_Libraries

Those GUIs are not competitive.
Just wxWidgets is good.
This is the most friendly for programmers.

I have no idea what you just said.

Is not GTK, DWT/SWT, Qt or tk used you mean? :D

November 16, 2021

On Tuesday, 16 November 2021 at 08:40:30 UTC, Imperatorn wrote:

>

Is not GTK, DWT/SWT, Qt or tk used you mean? :D

Score GUI libraries according to size/user-friendly/comprehensive/open-source/speed, wxWidgets is basically the best.