News for hackers. Stuff that matters.
Re:Modern Javascript: Everything you missed over the last 10... by jcelerier on Sunday May 16, 2021 @05:33PM (#27177200)
> but your linked video presents it as horribly complicated.

... could you precise that more ? I'm literally just making "new project" > design view > search for the button component > drag'n'drop it ? How can it get more simple ?

(opening a text file and writing "Button {}" is definitely more complicated if we're talking about teaching to beginners)

Re:Modern Javascript: Everything you missed over the last 10... by bryanrasmussen on Monday May 17, 2021 @03:02AM (#27180741)
>(opening a text file and writing "Button {}" is definitely more complicated if we're talking about teaching to beginners)

if teaching beginners to programming sure, if teaching a programmer beginning QT development no.

Re:Modern Javascript: Everything you missed over the last 10... by jcelerier on Monday May 17, 2021 @04:28AM (#27181206)
I disagree, the first case is discoverable, the second isn't at all. But apparently no one cares about discoverability of tools in 2021..
Re:Modern Javascript: Everything you missed over the last 10... by bryanrasmussen on Monday May 17, 2021 @06:12AM (#27181832)
I mean the second case is generally discoverable for a programmer because there will documentation of a language or API. I believe people are generally aware of discoverability of documentation in 2021.
Re:Modern Javascript: Everything you missed over the last 10... by jcelerier on Monday May 17, 2021 @08:17AM (#27182593)
> I believe people are generally aware of discoverability of documentation in 2021.

as someone who teaches programming in university, that's definitely not true, less than 1 in 20 students has the reflex of looking for any kind of documentation (even after showing it to them)

Re:Modern Javascript: Everything you missed over the last 10... by bryanrasmussen on Monday May 17, 2021 @08:36AM (#27182734)
well I'm discussing what is easiest for working programmers, although it's true I do hear about there being a bunch of really bad ones out there so maybe I am just assuming too much.
Re:Modern Javascript: Everything you missed over the last 10... by presentation on Monday May 17, 2021 @08:17AM (#27182589)
Just that starting modal with 6 steps to choose various configuration stuff would probably throw a beginner into a loop for a while, even if you could just skip it all. Maybe if this IDE wanted to be beginner friendly, they ought to consider just having reasonable defaults and letting power users change them later - like how web tools tend to be designed these days.
Re:Modern Javascript: Everything you missed over the last 10... by hnbad on Monday May 17, 2021 @07:01AM (#27182116)
There are visual editors for React. Pretending QT is easier than web technologies because it's easier to drag a component in a visual editor than type text in a code editor is comparing editors, not UI technologies.
Re:Modern Javascript: Everything you missed over the last 10... by jcelerier on Monday May 17, 2021 @09:23AM (#27183089)
Are you saying that React is easier than this purely code-wise: https://qmlonline.kde.org/
Re:Modern Javascript: Everything you missed over the last 10... by hnbad on Monday May 17, 2021 @11:51AM (#27184838)
It's about the same but you can do this with minimal HTML and CSS using a basic CSS keyframe animation.