Where to spend my limited time? Perspective on Python vs JS

I’m glad you found the link useful, @gpkesley! If you plan on completing the book, that detour might take a while… :wink:

@zedshaw This is all very interesting. I’ve been experimenting with Flask this week. (Inspired by Graham’s success I thought I’d look into finally getting that site of mine up and running.) Yesterday I followed your hint and looked at web.py and if I was going to stick with Python I think I’d use that. But now you kind of persuaded me to get out of my comfort zone… I’ll definitely have a go with Svelte next.
Thanks for your input here! Much appreciated.

1 Like

Answering both @io_io and @florian you should try Sapper first:

https://sapper.svelte.dev/

You’ll have to learn Svelte while you learn Sapper, but it just gives you basically a full front and backend system ready to go. You basically put a .svelte file in the right place, that’s your UI in Svelte. Then put a .js in the right place, and that’s your backend code. No configuration needed.

It’s what I’ll be using in the course.

3 Likes

Can’t wait to try this!
Thank you!

Wow, that looks awesome. I’ll definitely give it a go. Thank you!

Is the course ready to go @zedshaw ?

I’m about to hit a month of coding full time now whilst I’m off work in March. If I shift to JS, which seems the right thing to do, I’d like to hit it hard.

I’ll take a look at svelte first but if you need a beta tester of the material, let me know.

@florian yes, that book / site is a mutha of a rabbit hole but I’ll try to maintain some progress in parallel to learning JS.

@gpkesley I can identify with your struggle that everything becomes easier once you understand the underlying foundation.
@gpkesley and @florian what course is this?

Thank you for bringing this out.
I think I get the picture now.
I’m not here to get a job as a coder; I’m just here to learn how to become good enough so I can tinker, prototype and test my own ideas, without involving too much money or external coding power.
But just the possibility that in the future I’ll not be allowed use Python 3 is almost enough for me to make the switch.

@zedshaw When can we start to look at this?
Codecademy is OK sofar, but if your course going to be anything like LPTHW, then I can’t wait to get started on that journey.

@zedshaw I’ll be thrilled to share whatever I’m doing with Airtable if anyone feels that’s interesting.
I’m currently using Airtable, Integromat and small custom made dashboard solution to test out if there is a market for making affordable ERP systems for garment manufacturers.
I find it’s super fast and easy to rig up customized databases to an MVP level in Airtable and then use a few other things to spice it up.
Sofar It has allowed me to experiment with selling, pricing and quickly test out what works and what doesn’t.
I currently have four companies that pay me every month to get access to the tailored solutions I’ve made for them.
However, in the long term, I’ll like to move away from Airtable it has its limitations.

See here:

2 Likes

@zedshaw
It almost sounds like it’s no longer a good idea to study Python?

Kinda like a hit in the gut. 2ish hours a night for six months. made it to chapter 40…twice. Been trying Django while doing ex 46 and 47 as well as git. and seems I may have went the wrong direction.

1 Like

Nah, don’t worry! With that kind of commitment you must have learned a lot about programming. The next language will be much easier. And this field is so vast – you won’t get very far if you know only one language anyway.

1 Like

I continue to learn with python as it’s a language I’ve become familiar with. Now I know the language well, it means I can explore other elements of computer science without the overhead of learning another language in parallel.

It will of course then make learning other languages much easier, but if I do not learn one language as full as possible, then I’ll continue this cycle of only scratching the surface like I did with Java, C# and Ruby. I’d like to be able to see how different languages handle the same problems so to start from scratch now with another language (other than Lisp) for me doesn’t work.

2 Likes

Keep on! Try to finish the book and when make a new assessment of what you want to accomplish and for what reason you start to learn programming. Maybe it will be a good idea to continue to follow the Python route.

If you know what you want to accomplish with programming the decision will be much easier what kind of language you should learn and use. Python is still high in the game for certain use cases.

I have now personally stopped my Python learning and jumped to JS.
For me it makes more sense as I can more directly get involved with making small projects on my own.

I think I was 2 exercises ahead of you and spend about 6 month on Python aswell with no prior coding experience. But I’m happy I did.

Despite the syntax is a little different in Java script all the concepts seems to be more or less the same, which has allowed me to do a codecademy free introcourse and and I feel I understand most of it immediately because of the foundation from LPTHW.

However I’m sure when I get further everything will probably start to be quite different, and as @gpkesley mentions at one point it’ll be time to dig deep.
I have the feeling the LPTHW is more than anything about getting the foundations set which carries into other languages…

I just really want @zedshaw to release his Java script course…

Same here!

Python is also a great language for quick and dirty command line scripts, because compared to other languages the syntax is very close to everyday speach. If you are familiar with Python’s I/O API and the re module you can automate a lot of tasks that involve transforming files/data with close to zero effort.

I think it is fair enough that Zed is focusing his training on JS, especially as LPTHW has been out for ages. As he says, JS has moved on and offers a lot these days.

I certainly don’t want to get into a ‘this language is better than that’ situation because all languages have some merit. We also know that one size does not fit all so variety helps with experience and employability.

@ktrager did you (or anyone else) get this email and check it out? I wasn’t aware that @zedshaw has started them but it seems he has…

Today at 10am EST I’m going to be doing another live stream where I rip out the ArangoDB database and put in a new data layer using:

http://knexjs.org/
https://bookshelfjs.org/

Everyone is invited to watch for free, and you can watch it live on the website I’ll be working on at:

https://learnjsthehardway.com/live/

The code I’ll be working on is at:

https://git.learnjsthehardway.com/zedshaw/learnjsthehardway/src/branch/master/lib/data.js

So if you’ve always wondered how someone refactors a piece of code efficiently, then come and watch.

Thank you for your time,

Zed

I got the email too, but it was a little short term for me. Couldn’t make it that day. But it sounded very interesting.

Oh yes, thanks for the hint. That mail ended up in my spam folder.

Is there an archive somewhere where we can watch the streams afterwards?

Didn’t get it, but signed up now.
:crossed_fingers:next time.

Thanks for the heads up

I actually tell people to learn 4 programming languages if they want to do this professionally. It’s at about your 3rd or 4th that you actually understand how code works. So just finish the python then go do JavaScript. You don’t lose anything by learning more than one, you only gain.

2 Likes

Good idea! Alex tells me to learn Awk.

A free service run by Zed A. Shaw for learncodethehardway.org.