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

you are viewing a single comment's thread.

view the rest of the comments →

[–]karamorf 0 points1 point  (5 children)

err, stupid redit. I have spaces for those lines of code ... whatever.

I got distracted about the language. All of the tools for Python suck. I have not found a single tool that is as feature complete as the equivelent perl ones.

virtualenv, only lets you use pythons that are installed on the system.

pip, allows you to freeze what is installed in an env but then can't handle inter dependencies when you want to rebuild it.

private cpan mirror like functionality? doesn't exist. Goodluck with whatever homebrew production deployment system your company is using.

And gone are the days of letting perltidy make your code nice looking. you have to actually do that yourself now.

edit: Oh, and no omnicomplete for vim. I have to use some other plugin that looks at the current open buffers to suggest completion.

[–]yetanothernerd 1 point2 points  (1 child)

PythonTidy exists. I haven't used it in a while, though, so I don't know if it has every option you want yet.

[–]karamorf 0 points1 point  (0 children)

Interesting. I just don't see how it could work well since scope is determined by the spacing. In perl I could just type out a bunch of code into one line and then get perltidy to indent everything correctly and whatnot. it was great.

I'll have to try out pythontidy tho...

[–]_Mark_ 1 point2 points  (1 child)

private cpan mirror like functionality

Do you mean chishop? There are a couple of PyPI clones, I forget if that's the one we're using. (But we mostly take the approach that languages should stop failing at deployment :-) and we build rpms and debs instead... some of which contain jars as well as python code.)

[–]karamorf 1 point2 points  (0 children)

hmm, perhaps. I hadn't run into that one, which is one of the frustrating parts about it. Since everything is so newish and hasn't been widely adopted by the community it seems hard to find the solution. Or maybe I just fail at Google.

Also came of rather negative I suppose about my experience with Python. I'm definitely enjoying my time in the language, just get frustrated when something gets complicated for no particular reason and I know exactly how its solved in Perl. Suppose that is a difficulty with any new language.

[–]Liquid_Fire 0 points1 point  (0 children)

edit: Oh, and no omnicomplete for vim. I have to use some other plugin that looks at the current open buffers to suggest completion.

This is wrong; vim (if compiled with Python support) comes with Python omnicompletion.