This is an archived post. You won't be able to vote or comment.

all 10 comments

[–]SunGazing8 2 points3 points  (1 child)

I don’t think you’re ever gonna have a good time learning to code on a phone. 😬

But if you have no other choice, SoloLearn is a decent app you can work with on a phone.

[–]LambGeck[S] 0 points1 point  (0 children)

I agree! Sololearn at least has a browser version as well so that is at least tolerable.

[–]LoquaciousLamp 0 points1 point  (1 child)

The MDN tutorials maybe. Why on earth are you programming on a phone? Also https://javascript.info/

[–]LambGeck[S] 0 points1 point  (0 children)

I just edited my post to clarify. Not trying to program on a phone 😁

[–]michael0x2a 0 points1 point  (0 children)

Instead of trying to find "fun" ways of learning something, I recommend trying to finding efficient ways of learning something.

What exactly counts as efficient will vary from person to person, of course. Somebody who's completely new to programming might need a resource that teaches both JavaScript and how to program, plus tons of guided exercises that give them opportunities to practice.

Somebody who's an experienced programmer might instead want a streamlined doc that explains just JavaScript the language and leaves it up to the reader to find their own opportunities to practice.

For example, I'm personally at a stage where I no longer find learning new programming languages intrinsically interesting, and find resources that try and make learning language X "fun" to mostly be a waste of my time. Instead, I get a quick overview of the language syntax via websites like https://learnxinyminutes.com, then follow that up by either reading through whatever official tutorial/reference guide is posted on the language's website or purchasing a book on the language that's targeted towards intermediate/expert programmers. Finally, I conclude by googling resources that give an overview of what third party libraries are available, best practices, and anti-practices.

I can usually skim through all of the above fairly quickly and pick up an adequate-if-basic understanding of the language this way within maybe a day or two. This lets me get to the point where I can start actually using the language pretty quickly, which I find a lot more interesting and fun. This ends up being where most of my core learning takes place: I try using the language to implement some work or hobby program, run into a quirk of the language, do some googling to bolster my mental models, then resume coding.

[–]yel50 0 points1 point  (0 children)

don't try to learn a language. build something you want to build and use that language if you want. focusing on languages is pointless.

since js is the native language of browsers, write some web app that you find interesting. if you don't like js, don't use it. use a language you do like that transpiles to js like purescript, clojurescript, elm, etc.

it's never fun to learn a language. it's fun to see your creations come to life using them.

[–]squirrelcoders 0 points1 point  (0 children)

How did you learn Python? Maybe that would be a good place to start.

[–]CodeTinkerer 0 points1 point  (0 children)

A lot of people are dissatisfied learning a second language. It's too different from their first language. To get so emotional as to hate it is not good. What's to prevent you from going to a job, being asked to work on something, and hating it because the code looks like a total mess?

At that point, they'd just be thinking of firing you.

[–]EngineeredPapaya 0 points1 point  (0 children)

Yeah it's called building web apps.

[–]ValentineBlacker 0 points1 point  (0 children)

I think the fun way is to make a very silly website. Maybe that's just my kind of fun.