Hossein Yousefi
youse.fi
Hossein Yousefi
@youse.fi
Software Engineer working on Dart native interop at Google
😅
December 5, 2024 at 6:35 PM
I hit a similar issue but with nullable types, what if you specify the type params for the constructor?
December 4, 2024 at 10:33 PM
Yes. In Persian, that’s the question mark: ؟
December 4, 2024 at 3:00 PM
Welcome!
November 30, 2024 at 7:51 PM
I actually don’t mind plpgsql!
November 28, 2024 at 5:10 PM
On-device is good for the speed more than anything. Not requiring internet is a bonus.

You would need a way to represent things anyways, be it a custom json with a specific format that you use to show visual elements or a full-fledged language.
November 25, 2024 at 2:16 PM
Existing languages are not ideal to be reviewed on a phone screen either. I think a complete solution looks something like a custom app, a custom language, and an on-device LLM. The ability to export your programs to existing systems like iOS shortcuts.
November 25, 2024 at 1:47 PM
Agreed. Answered in the other thread. Visual blocks once you type can improve the experience here.
November 25, 2024 at 1:39 PM
LLMs are not there to fully rely on them. Could be a great input mode.
November 25, 2024 at 1:38 PM
There are other ideas: using reactive programming paradigms like a spreadsheet so the user sees the results immediately, …
November 25, 2024 at 1:36 PM
Yeah as I said this is a low hanging fruit. Another thing is editing, UI can help with that, for example if we create a visual block that is easily editable instead of moving the cursor on actual characters. Repls would be better on a phone, something like python notebooks.
November 25, 2024 at 1:35 PM
Of course I don’t mean brainfuck lol. A low hanging fruit is to use words instead of symbols. E.g. which one is easier to type on a phone between these two?

for (let i in 1..=10) { print(i); }
for i in 1 to 10 do print i done
November 25, 2024 at 1:15 PM
The fewer symbols you use, the fewer keys you need to show in the keyboard which is critical in a the small screen of a phone. UI is really important too.
November 25, 2024 at 12:55 PM
Wouldn’t be productive though. I want something like iOS’s shortcuts + repl.
November 24, 2024 at 10:34 PM