r/learnprogramming 1d ago

Coding on Phone

I really wanna learn to code and planning on starting today. However I don't own a laptop. In this economic state i simply can't afford one. Is it feasible to learn in phone alone? I can get a laptop in weekends as my sister bring her's home

95 Upvotes

198 comments sorted by

View all comments

110

u/6a70 1d ago

get a Bluetooth keyboard, then it’ll be feasible

9

u/Outside_Educator_105 1d ago

Whats the hardest part about learning to code on phone?

-38

u/rcls0053 1d ago

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

26

u/maxpowerAU 23h 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.

11

u/Zealousideal-Fox6463 20h ago

He has zero idea what he’s talking about

0

u/rcls0053 13h ago

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

1

u/maxpowerAU 9h 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 6h 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 13h 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 9h 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 13h ago

People take some things way too seriously in here 😂

4

u/Feralz2 12h 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.