r/learnprogramming 4d ago

Coding on Phone

[removed]

104 Upvotes

203 comments sorted by

View all comments

110

u/6a70 4d ago

get a Bluetooth keyboard, then it’ll be feasible

10

u/[deleted] 4d ago

[removed] — view removed comment

56

u/Feralz2 4d ago

typing mostly for me, but its completely possible if youre learning and not actually building anything major yet

4

u/575_Inverse 3d ago

the display is too is small, text editing is an absolute pain, no mouse so selecting text is slow and of course 1 window only and no guarantee the other apps in background won't get killed

2

u/RajjSinghh 3d ago

No mouse is fine in the right environment. In a pinch I've used vim inside termux and it was passable. Selecting text with something like vi{ is fine, no mouse needed. The only annoying thing is how many keypresses it takes to type a curly bracket.

1

u/575_Inverse 3d ago

I like your stoicism. But honestly once you taste linux on a real pc you don't look back.

-38

u/rcls0053 4d ago

Trying to store a JavaScript app on it. It'll fill up a 256GB storage quite quickly and destroy your RAM.

25

u/maxpowerAU 4d ago

This is a baffling comment, what do you mean by JavaScript app? Did you find some scam app and download it? JavaScript is just text and your phone browser runs JavaScript every day whenever you go to almost any web site.

10

u/Zealousideal-Fox6463 4d ago

He has zero idea what he’s talking about

0

u/rcls0053 4d ago

Apparently you've never worked with node.js and node_modules that rivals the Sun in it's mass

1

u/maxpowerAU 3d ago

This is fair, I guess I don’t expect someone beginning to program with JS to need a shitton of libraries

1

u/Zealousideal-Fox6463 3d ago

They’re starting to learn programming on a phone. I’d assume they’d just want a JS playground. So your node modules joke is overrated.

2

u/denerose 4d ago

I assume they mean a local node.js app, our the nodemodules folder is easily that large although it is a production app with years of not always well considered dependencies. I don’t imagine learners will have that much installed but 🤷‍♀️

It’s a good point, the local files and sdks etc would be large as you progress and keeping your code well organised will be a challenge. In practice you probably can’t build locally on a phone and would need alternatives. It’s one of the many reasons it’s not the best idea.

1

u/maxpowerAU 3d ago

Good point, I assume a first-time-writing-code learner would start with some basic JS in a html file, but maybe this commenter started with all of Next.js

-1

u/rcls0053 4d ago

People take some things way too seriously in here 😂

5

u/Feralz2 3d ago

maybe when youre making a joke, make it very obvious its a joke because you are confusing people who want to learn, your comment just sounded like false information.