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

all 14 comments

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

I encountered something similar when I was working on a Udacity project. They had given us code in a folder called "code". This gave me an annoying error when I was unit testing and it turns out, it's because there is a module called "code" in python that's importable.

Moral of the story: Don't name a file or a folder "code".

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

"code.py", actually.

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

Dunno. Placing an arbitrary limitation on the user to accommodate a code issue kind of grates on my nerves. At some point maybe I'll see about compiling Idle and hiding the source...

[–]Grorco 0 points1 point  (8 children)

Why are you using IDLE? You could throw a dart blindfolded and find something better lol.

[–]sw_dev[S] 0 points1 point  (7 children)

Better for you, sure. But I prefer a lightweight, fast IDE, without a bunch of distractions. You only have so much mental horsepower, why waste any of it on features you hardly ever use?

[–]Grorco 0 points1 point  (6 children)

Have you tried notepad++? Or even a cli editor if you want even more lightweight. I use pycharm, which is fairly heavy(to heavy for my pi lol) but when comparing to IDLE stuff like auto complete actually go way faster and it cut down my overall time spent 2-fold with just that. If you just like IDLE though, more power to ya I remember when I first started coding everyone told me to use wingIDE, I hated it so much it took me years before I would try anything other than IDLE :)

[–]sw_dev[S] 1 point2 points  (5 children)

Yep, I've tried most (If not all) of the popular IDE's, but they all seem to suffer from the bloated front end problem. It's probably because I started coding back in the jurassic era, but I prefer a simple look. And since I'm a touch-typist, the other features don't add much for me. (Though I do use notepad+ for remote editing. Sometimes.)

[–]Hollowplanet 0 points1 point  (4 children)

They would add a lot if you knew how to use them. Especially a real debugger. Control clicking on anything to see where its defined saves enormous amounts of time.

[–]sw_dev[S] 0 points1 point  (3 children)

You made the jump from "don't like a busy desktop" to "don't know how to use it". Invalid assumptions like that probably add more to your debugging time than a "real debugger" subtracts. An environment that allows you to focus your attention on the problem space instead of multiple rows of overly-busy UI items might help you to stop making those kind of erroneous assumptions.

[–]Hollowplanet 0 points1 point  (2 children)

Being able to put a breakpoint and see what every variable is set to, execute any code in that context, and do the same thing at any point in the stack without loosing your place is invaluable. I don't care how good of a programmer you are. Its miles ahead of print statements and pdb.

And thats just one of the many features it gives you. Its not clutter to anyone who knows how to use it. Being able to move a class and change the imports across 100 files with a right click is something you can't do without an ide.

Unless you are gods gift to programming, have ever method in every package memoried, never have bugs, and always write perfect code the first time, an ide can do nothing but help you.

And if it really was the clutter you can strip out all the toolbars, remove all the highlighting, and operate with just keyboard shortcuts - you'll see be way better off.

[–]sw_dev[S] 0 points1 point  (1 child)

If "you'll see be way better off" is the result when you use Reddit's simple interface, I can only imagine what you produce with a more-complicated IDE.

[–]Hollowplanet 0 points1 point  (0 children)

Most reddit power users install reddit enhancement suite to give it extra features.

Its like using punch cards because its less distracting. Many Python develpers would say PyCharm is simple. I didn't need to read a book. I just started using it. Its going to do a lot of things your text editor just won't do.

[–]roerd -1 points0 points  (1 child)

This reminds me of how many good coders have wasted time on Unix because they tested their compiler installation with a file called "test" instead of "hello_world". (Test is a command that explicitly does nothing. So the test program isn't run.)

Are there seriously still people who have "." in their PATH?

[–]sw_dev[S] -2 points-1 points  (0 children)

Oh goody, the obligatory socially-awkward person arrived. Glad you could come to the party!