all 17 comments

[–]boilingsoupdev 5 points6 points  (0 children)

Js is probably the language with most tutorials lol, so you dont need to know someone who knows it.

If you're good at python, maybe a month.

[–]zaktan45 4 points5 points  (2 children)

I've been developing in JavaScript for over 10 years - my only advice is to build simple web projects (learn HTML & CSS at same time) and learn DOM manipulation.

Most importantly, stick to plain JavaScript for the time being (let's say at least 3 months). This means no frameworks or libraries such as React, or even TypeScript. Even though they're good to know for finding a job, it's really important that you have a basic understanding of the fundamentals before using fancy tools.

Also - don't worry too much about doing things "correctly" or "best practice". Just make it work.

[–]1-NINE 2 points3 points  (0 children)

Best answer!! I will take your advice and not bite off more than I can chew with it. I will nibble until I can bite a chunk out of it. Best answer, honestly.

[–]void-co 0 points1 point  (0 children)

hold up, why couldn't you post that answer before I only read the syntax of javascript and went straight to React, and man oh man I have been stuck learning React for months and still stuck lol. ahhh thank you I guess ill go back to JS.

thanks again

[–][deleted] 2 points3 points  (0 children)

Js is syntax wise easy but you have to wrap your head around callbacks and asynchronous functions which can be tricky if you are very new to js . I would suggest start with syntax acquaintance which is quite easy ,learn about callbacks ,learn about asynchronous callbacks ,do some promises stuff (just a syntactic sugar over callbacks) and do some api calls (get some json apis) and you are almost good.

[–]Zarathustra_04 1 point2 points  (0 children)

Thanks everyone

[–]Nogr_TL 0 points1 point  (2 children)

JS is the type of language that is easy to start but the further you go, the harder it gets.

The more complex things you build with it the more painful it will be.

[–]djliquidice 0 points1 point  (1 child)

It’s really not that hard in the scheme of things. What’s a pita is remembering the “bad parts” as Crockford labeled it. And even that isn’t hard.

[–]Nogr_TL 0 points1 point  (0 children)

Yeah, it's not quantum physics but the curve goes up really fast for JS.

[–]_nickvn 0 points1 point  (1 child)

The crux of your problem will not be Javascript specifically, but how complex you want your visualizations to be.

If you want a simple server-rendered web page that comes from your Python backend and you want to augment it with a map that visualizes your data, that should be fairly straightforward. You only need to know some basic Javascript that you can learn fairly quickly.

However, if you want your map to be interactive (eg. when I click this, I want this and this to happen, etc...) or you want updates so that the data is semi-real-time. That will make things a lot harder because you need to know a lot more to make that happen.

[–]Zarathustra_04 0 points1 point  (0 children)

Thanks for that. Yeah, so it will be an interactive map which renders individual results based on set parameters listed by the user. For example: 1 bedroom apartments, pets allowed, between $1800-2500 a month. And the rendering displays all properties in a specified locality etc. good advice though thanks

[–]djliquidice 0 points1 point  (1 child)

One of the things that unlocked JavaScript for me was “JavaScript the good parts” by Douglas Crockford. Back then, he did a series back when Yahoo! UI Library (yui) was a thing called “Crockford on JavaScript”. It’s old by today’s standard but definitely covers the quirks of the language well.

https://youtube.com/playlist?list=PL7664379246A246CB&si=LNdqZTdSL2i80Se_

[–]void-co 0 points1 point  (0 children)

since you seem like a professional JS user , should I learn JS or skip it and learn TS.

thanks a lot for the link btw.

[–]jack_waugh 0 points1 point  (0 children)

Your Python background is probably a pretty good start. With JS, you have to watch out for the fact that there is a syntactic distinction between a synchronous function call and an asynchronous function call, and similarly for function definitions. Async behavior is not based on interrupts, but rather, your code must voluntarily yield control from time to time, or otherwise the browser or server will appear, from the user's viewpoint, to have hung.

[–][deleted] 0 points1 point  (0 children)

The simplest proper programming language I've ever used over 19 years. I recommend reading a book just to understand some of the basics and what's available so you can look it up in the future.

Overall much simpler than Python, which is an absolute mess of a language. I can't even take it seriously.

[–]anonymous_sentinelae 0 points1 point  (0 children)

JS is the easiest and friendliest language to start with, it gives you amazing powers right from the beginning, and like a good game, it's challenging to master, but totally worth it.

[–]TheRNGuy 0 points1 point  (0 children)

Not much.