Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
onsclom
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
onsclom
3y ago
Fair gotcha, yeah honestly I find QML to be super intuitive in the same way Svelte is super intuitive. It feels like two framework authors in very different worlds came to a similar conclusion. > Regarding the timer, so in your Svelte co
32.
▲
by
onsclom
3y ago
Thanks for the thoughtful response. It's interesting hearing from someone who actually likes Qt. I use both React and Qt/QML for work, and I have a hard time enjoying the Qt/QML work. Maybe I'm missing something or doing
33.
▲
by
onsclom
3y ago
This QML example is implementing the example from the article, and the article already implements this example in Svelte. However, the Svelte implementation becomes even more concise when you inline the functions: <script> let
34.
▲
by
onsclom
3y ago
Having used both QML and Svelte, I enjoy Svelte a lot more. The reactive APIs are very similar, just declare variables, mutate them, and use them. But Svelte is much nicer for many reasons: 1. It uses modern JavaScript and not some limited
35.
▲
by
onsclom
3y ago
If you or someone else finds the link to this, I would love this!
36.
▲
Make Programming Fun and Get Better in the Process
(onsclom.net)
2 points
by
onsclom
3y ago
|
0 comments
37.
▲
Plain Old JavaScript and the DOM
(crockford.com)
18 points
by
onsclom
3y ago
|
2 comments
38.
▲
Your "simulation" might not need state
(onsclom.net)
227 points
by
onsclom
4y ago
|
112 comments
39.
▲
Drawing Combinators: Functional Creative Coding
(onsclom.net)
2 points
by
onsclom
4y ago
|
0 comments
40.
▲
by
onsclom
4y ago
> That is not my experience. Visual Studio Code doesn't seem to run as smoothly as I would like. Meanwhile every C++/QT application I have run works perfectly. Where are you getting this from? I’m in a bit of a unique position
41.
▲
by
onsclom
4y ago
Great points! I am still trying to figure out how to best use functional programming with JavaScript. I've found writing performance critical parts imperatively while being conscious about shared mutable state is a decent compromise. &
42.
▲
Functional Programming – How and Why
(onsclom.bearblog.dev)
177 points
by
onsclom
4y ago
|
247 comments
43.
▲
Show HN: Snake in ~50 readable lines of JavaScript
(onsclom.net)
8 points
by
onsclom
4y ago
|
2 comments