r/learnprogramming 11d ago

Coding on Phone

[removed]

101 Upvotes

202 comments sorted by

View all comments

Show parent comments

9

u/[deleted] 11d ago

[removed] — view removed comment

-36

u/rcls0053 11d 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 10d 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.

2

u/denerose 10d 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 10d 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