Message Boards Message Boards

Mathematica "Best Practices" and "Programming Patterns" ...

POSTED BY: Mark Tuttle
5 Replies

I know what you mean. When I looked at code in Michael Trott's GuideBooks I'm often amazed at what he does in so little code.

POSTED BY: Frank Kampas

No one with experience disagrees with this.

The deeper and much more difficult question is the general software engineering challenge - how do you do decide what to do NEXT, and how do you decide how to balance local vs. global simplicity. To your point, it's good to have something that runs, as early as possible, and for all there right reasons. But when I watch skilled Mathematica programmers they almost all proceed bottom-up and inside out; they start out quite simply and then - using the functional paradigm - string thing together up and down stream from this. Often the result is incomprehensible, UNLESS one saw it being put together.

POSTED BY: Mark Tuttle
POSTED BY: Frank Kampas

Excellent, thank you!

I've used Stack Exchange for some details, such as dealing with type conversions between Excel and Mathematica, but missed the general stuff completely.

I look forward to digesting it.

-- Mark

POSTED BY: Mark Tuttle
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract