After a conversation on the #nova channel, here's the core of a scalable text editor without any caching (because cache invalidation is one of the hard problems of programming)
https://forum.nova-lang.net/viewtopic.php?t=16
Line wrap and click to reposition cursor in 60 lines.
Devine Lu Linvega
in reply to Kartik Agaram • • •Kartik Agaram
in reply to Devine Lu Linvega • • •Ha, no idea. Last night I struggled to understand some basic programs.
I think I might skip the "assembly language" of Nova and wait for the high-level language..
Devine Lu Linvega
in reply to Kartik Agaram • • •Kartik Agaram
in reply to Devine Lu Linvega • • •I'd be open to that. The hard questions seem to be about the best place to add an interface so that a new interface is a net positive. That's why I'm following Nova closely. So far it's possible I'm just too captured by the way I do my programming for so many years.
I also have a hard time learning new natural languages 😀
Devine Lu Linvega
in reply to Kartik Agaram • • •Kartik Agaram
in reply to Devine Lu Linvega • • •The way I think is very imperative. The computer chips around us are fundamentally imperative, and the way I was taught programming was by first understanding how computers work. So other paradigms feel like interfaces on top of imperative.
Rewriting seems convoluted. Why go back to the top, not the next line of code! Are jumps and variables and functions really so bad..
Devine Lu Linvega
in reply to Kartik Agaram • • •Kartik Agaram
in reply to Devine Lu Linvega • • •Apostolis
in reply to Kartik Agaram • • •@neauoire
I also wonder the same. I do not know a good reason why to go to the top. That is why I cannot handle the reasoning yet.
Also, because I work on out of order things.
But out of order things has a physical reason, parallel asynchronous computation.
Devine Lu Linvega
in reply to Apostolis • • •