Hacker News new | ask | show | jobs
by asdff 12 days ago
There is stuff that just is not done at all in scientific coding that is routine in more "I majored in this in undergrad" sort of coding roles. For example, type checking. Engineering tech interview will ding you for not specifying type in say function input definitions. After all, to the engineer brain, someone could supply an unexpected type and trigger a bug, better catch it there.

To the scientific programmer brain, that is just irrelevant, because the function will only ever be used with expected data. The type definition would be superfluous. Even if unexpected data were supplied, the pipeline would likely break anyhow with some other error.

1 comments

Not true, lots of scientific code is not written in python but C and other static type languages.
I guess there is a line in the sand then between scientific code that is written by people who use C, and scientific code that is written by people who will never use C. If you find yourself a tool maker vs tool user, that also is more likely you are coming from a pure cs background and do the song and dance.