this post was submitted on 16 Jun 2026
38 points (89.6% liked)

No Stupid Questions

48671 readers
524 users here now

No such thing. Ask away!

!nostupidquestions is a community dedicated to being helpful and answering each others' questions on various topics.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must be legitimate questions. All post titles must include a question.

All posts must be legitimate questions, and all post titles must include a question. Questions that are joke or trolling questions, memes, song lyrics as title, etc. are not allowed here. See Rule 6 for all exceptions.



Rule 2- Your question subject cannot be illegal or NSFW material.

Your question subject cannot be illegal or NSFW material. You will be warned first, banned second.



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Questions which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding META posts and joke questions.

Provided it is about the community itself, you may post non-question posts using the [META] tag on your post title.

On fridays, you are allowed to post meme and troll questions, on the condition that it's in text format only, and conforms with our other rules. These posts MUST include the [NSQ Friday] tag in their title.

If you post a serious question on friday and are looking only for legitimate answers, then please include the [Serious] tag on your post. Irrelevant replies will then be removed by moderators.



Rule 7- You can't intentionally annoy, mock, or harass other members.

If you intentionally annoy, mock, harass, or discriminate against any individual member, you will be removed.

Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- Majority of bots aren't allowed to participate here. This includes using AI responses and summaries.



Credits

Our breathtaking icon was bestowed upon us by @Cevilia!

The greatest banner of all time: by @TheOneWithTheHair!

founded 3 years ago
MODERATORS
 

Coding is normally done on the desktop, as the keyboard provides special keys. The keyboard of android phones is usually limited in this respect.

Is coding possible smart phones at all ?

top 50 comments
sorted by: hot top controversial new old
[–] remon@ani.social 80 points 1 week ago* (last edited 1 week ago) (3 children)

Sure it's possible. It's also possible to cut an acre of grassland with scissors. Both are terrible ideas.

[–] Zwuzelmaus@feddit.org 16 points 1 week ago (2 children)

possible to cut an acre of grassland with scissors.

Never heard that. What's all this modern nonsense? Traditionally you have to use a nail clipper!

[–] OwOarchist@pawb.social 9 points 1 week ago (1 children)

Coding on an old flip phone with a 10-key keyboard would be analogous to cutting the field with nail clippers.

[–] Tetsuo@jlai.lu 7 points 1 week ago (1 children)

I only code on T9 keyboards.

load more comments (1 replies)

And trim the trees with a herring.

[–] mech@feddit.org 11 points 1 week ago* (last edited 1 week ago) (1 children)

This reminds me of a research project I did in university (I studied ecology).
The goal was to find out how much food geese need during migration.
You can't weigh them before and after they feed.
So we went to a meadow they always frequent on their migration path.
And then we used a ruler to measure the length of every single blade of grass, before and after they fed.

We also collected what they left behind.
Like coding on a phone, it was fowl shit.

[–] Saber_is_dead@lemmy.world 3 points 1 week ago (1 children)
[–] mech@feddit.org 2 points 1 week ago* (last edited 1 week ago)

damn, thanks. corrected it.

[–] OwOarchist@pawb.social 5 points 1 week ago (1 children)

It’s also possible to cut an acre of grassland with scissors.

Honestly, I'm not sure it is. The scissors might get dull and stop being able to cut before you finish. (Grasses often incorporate silica into their structure to grind down the teeth of animals that try to eat it and thus discourage them from eating too much.)

[–] Tetsuo@jlai.lu 4 points 1 week ago* (last edited 1 week ago) (1 children)

Is your lawnmower "laser-based" or something ? 🤔

[–] OwOarchist@pawb.social 3 points 1 week ago (1 children)

Lawn mowers rely more on speed than sharpness. Even an extremely worn lawnmower blade will still cut grass if you give it enough RPM. They also have a lot more mass to be worn away than a pair of scissors.

[–] ryannathans@aussie.zone 3 points 1 week ago

You can sharpen scissors too...

[–] jet@hackertalks.com 39 points 1 week ago (2 children)

The main limitation is your input device, attach a keyboard and a monitor and you should be able to program on anything

[–] OwOarchist@pawb.social 12 points 1 week ago (1 children)

Yeah, lol. Bluetooth keyboard + USB-C display adapter connected to a larger monitor, and the phone becomes kind of usable for coding.

[–] unexposedhazard@discuss.tchncs.de 7 points 1 week ago* (last edited 1 week ago)

I have previously used my phone like this to run godot and it actually works well.

[–] flambonkscious@sh.itjust.works 3 points 1 week ago (2 children)

Yeah, Samsung's dex is pretty amazing for this (only on the high end gear, I believe). Suck its a Samsung value add, cos they're horroble devices

load more comments (2 replies)
[–] mhzawadi@lemmy.horwood.cloud 29 points 1 week ago (2 children)

Possible, yes. Pleasant, no.

I don't like editing a spreadsheet on my phone, or typing much at all. If I had a blackberry, they would be different.

load more comments (2 replies)
[–] TabbsTheBat@pawb.social 9 points 1 week ago

I've done it before. Would I do it again given other options? Probably not, but it is doable

[–] OwOarchist@pawb.social 8 points 1 week ago

Brother, I used to write code on a TI-83+ calculator.

It can be done.

[–] LeapSecond@lemmy.zip 7 points 1 week ago

Most android keyboards have all the special keys you need, they're just 2-3 clicks away instead of 1. Something like Unexpected Keyboard might be more convenient. But the small screen is a bigger problem than the keyboard. Of course it can be done, it's just a miserable experience.

[–] dewritoninja@pawb.social 7 points 1 week ago (1 children)

I've been coding on my Android for 6 years now. At first it was with a native java editor for my programming 1 homework but then I discovered proot-distro for termux that allows you to run Linux distros as containers on Android.

I have debian 13 on my Android and use scrcpy to screen cast a secondary screen on desktop mode. It can be a bit slow sometimes but for java, JavaScript and python it's been alright. I know proot-distro can have issues with compiled languages like c and c++ but I haven't used those there since the semester we used cpp it was for SIMD and arm doesn't have the avx instructions.

There's a guy on GitHub called droidmaster that has the scripts to setup proot

[–] TheViking@nord.pub 3 points 1 week ago (1 children)

Can you suggest any special keypad for Android phones, for coding purposes ?

load more comments (1 replies)
[–] MidsizedSedan@lemmy.world 7 points 1 week ago

print ("Hello World")

[–] plutopos@lemmy.zip 6 points 1 week ago (1 children)

It's like drawing with sticks and bat dung

[–] mech@feddit.org 2 points 1 week ago

It drives you batshit insane?

[–] ICastFist@programming.dev 6 points 1 week ago

Possible, yes. But an awful experience if you don't have a physical keyboard, even one of those cheap bluetooth ones. It's barely bearable if you have one, since the screen is still too small.

On Android, I can vouch for Acode and Xed-Editor, both available on F-droid, as code editors to help you program. Not ideal, but if you have no other option than using your phone to program, they're good choices.

[–] sunsofold@lemmy.zip 4 points 1 week ago (1 children)

I've written some scripts on my phone with a software keyboard. Some CSS tweaking as well. I wouldn't want to do anything complex, though.

[–] NeatNit@discuss.tchncs.de 3 points 1 week ago* (last edited 1 week ago)

I highly recommend Unexpected Keyboard for things like that. I still wouldn't want to do more though, it's just not a productive coding environment.

https://github.com/Julow/Unexpected-Keyboard (F-Droid / Play Store)

[–] d00ery@lemmy.world 4 points 1 week ago* (last edited 1 week ago)

There are keyboards which provide more keys and layouts which can help (but take up more screen space).

Hackers keyboard was great, the replacement appears to be unexpected keyboard.

https://f-droid.org/packages/juloo.keyboard2

Remember a keyboard can steal all your info like passwords and usernames - make sure you trust it!

Or a flip keyboard like this is cool too.

https://www.ebay.co.uk/itm/266795334818

What language do you use as gitlab and GitHub both have browser based editors these days.

[–] yyyesss@lemmy.world 4 points 1 week ago* (last edited 1 week ago)

Absolutely. I use termux + a project called Andronix to install full Debian. After that you're off to the races. Install NVM, node, git, whatever. I use screen for tabbed terminals. I use one tab to run my node server and another to edit with vim.

Keyboards: as mentioned, Hacker keyboard, Unexpected keyboard, or Codeboard. Or you can attach a Bluetooth keyboard.

Everything just works. If you know vim and have patience, it's a lot of fun.

[–] fiat_lux@lemmy.zip 4 points 1 week ago

Yes, and lots of people in lower income countries do so using a Bluetooth keyboard.

[–] olafurp@lemmy.world 3 points 1 week ago

You can, but small upgrades go a long way. Upgrade path I'd go for is keyboard -> mouse -> monitor -> used pc/laptop.

Honestly though, if you're going to spend some money on it buying a used bargain bin laptop and installing Linux on it will be nice. Plenty of used laptops in $100-200 range are good enough.

[–] Sv443@sh.itjust.works 3 points 1 week ago* (last edited 1 week ago)

Termux can do a LOT, even with Android's heavy sandboxing. I've used anWriter before, to make websites and serverside JavaScript apps, and also just as a text editor.
I do also know there are ways to host VS Codium via a Linux VM in Termux and other ways to make the experience less awful.
A physical keyboard and mouse hooked up via USB OTG is also recommended.

[–] ell1e@leminal.space 3 points 1 week ago (1 children)

On a Linux phone that's fast enough, it's a great experience. On any other sort of phone, not so much.

[–] TheViking@nord.pub 3 points 1 week ago (1 children)

You do it on a smart phone ??

load more comments (1 replies)
[–] insomniac_lemon@lemmy.cafe 2 points 1 week ago

I've always wondered for compiled languages, but I'd imagine you'd need some sort of Linux compatibility.

It might be easier if you get more limited/creative, off the top of my head I suspect using something like TIC-80 might be viable. Doesn't quite interest me and I don't even have wired keyboard capability (not just keys, I don't think I could do much of anything at any appreciable speed/reliability on a virtual keyboard).

[–] FiniteBanjo@feddit.online 2 points 1 week ago

Maybe with DroidVim for Android or with KDevelop on a Linux phone, yeah.

[–] ohulancutash@feddit.uk 2 points 1 week ago

Apps exist, often with keyboard augmentation, but I don’t see it being useful for much more than touchups.

[–] vext01@feddit.uk 2 points 1 week ago

Well, you can plug in a keyboard and use termux. I doubt it would be fun though.

[–] lorty@lemmy.ml 2 points 1 week ago (1 children)

Yes, but I've only done it for learning purposes. I wouldn't recommend it for any other reason.

[–] TheViking@nord.pub 1 points 1 week ago (3 children)

Which keypad did you use ?

load more comments (3 replies)
[–] davad@lemmy.world 2 points 1 week ago

Possible? Yes. But if you don't have a keyboard, it's a huge pain to type code. And, depending what you're building, it might be hard or impossible to treat your code locally.

[–] SatyrSack@quokk.au 2 points 1 week ago (1 children)

I often find myself issuing a quick fix or something by pulling out my phone, opening Termux, remoting into a server with SSH, and editing a text file with something like Nano. That is, for all intents and purposes, coding. And it works well enough for that. I am generally familiar with the project via my time with it on desktop, so I know what small change I need to make and can do so quickly with just about any text editor. And even if I want to create an entire small script from scratch via my phone, I generally have the whole process mapped out in my head and just need to use the phone to type it out.

But anything that requires a lot of typing or screen space is generally better to do on desktop. Even though something could technically be achieved on a 6" screen using an onscreen keyboard, many things are simply more streamlined and effortless using multiple windows and a physical keyboard.

[–] TheViking@nord.pub 1 points 1 week ago (2 children)

Which keypad do you use in your phone ?

[–] SatyrSack@quokk.au 2 points 1 week ago* (last edited 1 week ago)

I use Heliboard mainly, and then I have Unexpected Keyboard installed as well and switch to it on the rare occasion I run into something that is difficult to do with Heliboard.

[–] TheViking@nord.pub 1 points 1 week ago (1 children)

Can you suggest a good replacement for vs code ?? Which is Foss ??

[–] noxypaws@pawb.social 2 points 1 week ago
load more comments
view more: next ›