site banner

Small-Scale Question Sunday for April 21, 2024

Do you have a dumb question that you're kind of embarrassed to ask in the main thread? Is there something you're just not sure about?

This is your opportunity to ask questions. No question too simple or too silly.

Culture war topics are accepted, and proposals for a better intro post are appreciated.

1
Jump in the discussion.

No email address required.

Does anybody like programming?

I have been hired as a sole and lead Python developer in a company. But my Python experience is mostly on Numpy, if anybody has some tips? It would be very appreciated!

Partly a response, partly hijacking this to ask a question of my own to everyone else: what are you using as a editor/compiler?

I programmed exclusively in Java for years, but my new boss wanted programs in Python so I've been doing that this past year. Using Eclipse, which is wonderful as an editor, since it lets me organize everything and highlights typos that I make and stuff.

Aside a whole lot of friction involving different conventions and abilities, I was annoyed that all of the Python editors people recommended seemed way less functional until I discovered that I can program Python in Eclipse if I do the right stuff. So I've been doing that.

I'm not sure what the general consensus is, because I'm mostly self-taught and program on my own, making mathematical models for research purposes that nobody else has to use or collaborate with, so I've probably got all sorts of weird habits that would make more sophisticated programmers cringe. So I can't tell how much of this is objective and how much is just me being used to Eclipse for so many years and having little experience with anything else. But I tentatively recommend looking into PyDev for Eclipse, because in my opinion it's nice.

Oh, there's no general consensus; to non-nerds the original perpetual internet flame war may have been Kirk-vs-Picard, but to nerds it was vi-vs-emacs.

I'm a happy vim user, but I would recommend it if and only if you expect to spend a significant portion of your life editing text; it's great to use but time consuming to learn.

I have a lot of coworkers, including the ones who wouldn't touch Windows with a 10 foot pole, who are big fans of Visual Studio for C/C++ development, but I don't know how well it works for Python.

While I also love Vim, I want to push back on the claim that it's time consuming to learn. I think you can expect to lose ten or twenty hours of productivity to getting used to it, after which it's a net positive (but a continuing learning curve).

Even more practical is to just use a Vim plugin for a worse more normal editor. This is also a good gateway drug to Vim.