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!

I do Python (and could use of job, if you want to get your forum-nepotism on). Python comes with a bunch of footguns, in that you can make the language behave unexpected ways by, for instance, executing arbitrary code at places like member or index accesses, have completely divergent function behavior depending on argument count and type, or change the behavior of existing objects (almost) arbitrarily at runtime. The art of Python programming is to use these features, with documentation, when appropriate but no more. These issues probably play out a bit differently depending on team and codebase size.

All the usual advice about factoring code into small pieces through narrow interfaces stands in any language.