DEV Community

Discussion on: Is it just me or...

Collapse
 
codemouse92 profile image
Jason C. McDonald • Edited

Exactly why I started writing "Dead Simple Python", to focus on the "WHY" of idiomatic code in the language. I wish someone would write one of those for Javascript (it won't be me), or maybe there is, and I just don't know of it. I have heard good things about Eloquent Javascript.

Collapse
 
perpetual_education profile image
perpetual . education

Looks like a cool set of articles! It's a little disconcerting when you say "dead simple" and the first step is "1: Virtual Environments and pip."

If we were to write "Dead simple JS" - we could just write it right in the console, which is nice. It's seems pretty dead simple already / if people would just let it be.

Collapse
 
codemouse92 profile image
Jason C. McDonald • Edited

"Dead Simple" doesn't mean what you think. ;-)

The idea behind the name is the same as with the Pythonic concept of "Obvious": it doesn't seem simple or obvious when you're looking into the topic, but once you're on the other side, it feels so simple that you wonder how it ever didn't make sense. The idea is really to give you a solid grasp of how to write idiomatic, or "Pythonic", code.

The trouble with the over-simplified approach is that, as soon as you try to do anything meaningful, those clever shortcuts most articles leverage turn into massive obstacles. Dead Simple Python braves the deeper complexities of the language; by time you resurface, the topic is no longer obtuse or terrifying, and you actually understand why those shortcuts worked (and didn't work) to begin with.

Thread Thread
 
perpetual_education profile image
perpetual . education • Edited

It seems like a great way to learn - if you've already learned 'programming' and the design-thinking behind that - and now you want to add Python to your tool belt. Not sure that we can agree that is what 'dead simple means' though.

Thread Thread
 
codemouse92 profile image
Jason C. McDonald

Precisely my point, especially with the book. There are already a billion "Python for beginners" books and tutorials, but virtually nothing for existing developers.

Collapse
 
blaquebeardcoder profile image
blaquebeardcoder

Jason thanks for responding and sharing your work-- that sounds like quite an undertaking. I'm curious as to why you have a "deep-seated hatred" of JS? I'll also check out that Eloquent Javascript that you suggested.

Collapse
 
codemouse92 profile image
Jason C. McDonald • Edited

My hatred of JS is best explained in this interview, I think. Jump to 18:30 if you want to skip right to it. (I promise it's more than a personal preference thing, like most language opinions are.)

Thread Thread
 
blaquebeardcoder profile image
blaquebeardcoder

Thanks for the quick response! I'll definitely check this out and let you know my thoughts! Thanks for sharing.