I know just enough Python and C to be dangerous, but am not a formally educated programmer and have sort of fumbled my way into the field. I've found ChatGPT to be an excellent tool for plugging the gaps in my knowledge.
Some examples of how I've used it:
  • Write me a draft mathematical spec of the following code.
  • Can you make the following code more concise and / or efficient?
  • Can you provide a commonly recognized approach for handling the following problem? (an example: A definition that accepts many input arguments, all of which have to be cross checked for the correct data type and range)
Very similar. I code daily, but not actually trained as a programmer. My code is dirty, hacky and not something I'd recommend others to use as a black box...
reply
Ya, I'm also working in the sciences (industry though, seems like you're an academic!)
reply