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.

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.