Developing with Squeak on a Cellphone
eighty-twenty.org
eighty-twenty.org
I guess something with as little punctuation as possible, so that you wouldn't need that many keys. A good autocomplete would probably be essential too. Would text still be the prefered input method? Is there something better suited to touchscreen input?
What about code display? I guess the "lots of little functions" style, which would probably allow for the easiest navigation on a tiny screen. Maybe collapsable/expandable function sections, like in WorkFlowy?
[1] http://lists.squeakfoundation.org/pipermail/squeak-dev/attac...
[2] http://lists.squeakfoundation.org/pipermail/squeak-dev/2020-...
As nothing more than a random guess, I believe a lisp could be appropriate here. Highly flexible syntax means it's easy to make a custom way to input code that works for a phone (you could imagine that touching a form makes a dialog appear or something like that. I'm terrible at UIs), and homoiconicity helps reconciling the input UI and code as it's written.
Plus, lisps are fun! :)
Fructure might be nice on a phone! Currently makes heavy use of keyboard shortcuts but I bet it could be adapted to a touchscreen.
https://github.com/wcchoi/swell.sh
It is better than using the phone's keyboard but the limited screen estate is definitely a problem
Why would you want to code on mobile though? For serious development a nice desk is also beneficial.
Until the iPhone 6+ I'd have said coding on a phone was really awkward, but nowadays on the modern large format phones it's quite workable.
In fact I may already have started working on this :-)
I sometimes imagine code as puzzle pieces you can -edit-
I'd be cool to make a GUI for programming valid code with drag and drop.
Somewhat akin to the “railway” syntax diagrams used in older programming manuals (still used in the SQLite manual).
The problem comes when introducing names. Those are pretty independent from the language itself, apart from some basic length and character set constraints. But if you have something where you don't need that many variables (point free code, stack-based PL), you don't have to go to full keyboard mode that often, and completion would have to work with fewer possibilities, too.
But in the end people manage to type pretty well on screens, as long as you don't have to switch layouts. Which brings us a constraint like many early programming languages had, where you really couldn't depend on anything but alphanumeric characters on a keyboard. That brought us Algol, Fortran and C trigraphs. Now ditch parens and you're good to go, although I guess that displaying a single additional line on your OSK with the necessary few items is easy enough.
Now, the editing environment is interesting. Fewer widgets to display on screen and more awkward shortcuts. This could point towards something like vi, or maybe even Oberon/acme, with touch gestures taking the place of mouse button chords.
This is a topic that I have pursued on and off over the years:
http://partiallyappliedlife.blogspot.com/2010/06/writing-cod...
The phone development environment, even with the excellent physical keyboard on the Samsung Sidekick 4G, was never really all that productive for me. I sure thought it was cool though.
These days, I get more done with a light and cheap Chromebook, either inside the Linux environment itself, or just running SSH to my desktop. The size and weight aren't too bad, and I can type much faster with a nearly full-sized keyboard.
I'm still in the market for a sub 3lbs convertible Chromebook with a 13in 1080p screen. But I'll make due with what I have for now, at least until the battery dies.
https://simberon.blogspot.com/2017/11/mobile-smalltalk.html
:-)