Questions tagged [language-design]

for questions about the design of the Mathematica language itself

148 questions
13
votes
1 answer

What naming conventions are used for functions?

I thought there were patterns to how functions were named, but after looking carefully it seems I can always find exceptions. For instance FindThreshold = Action + Object SetAlphaChannel = Action + Object ReplaceImageValue = Action +…
M.R.
  • 31,425
  • 8
  • 90
  • 281
3
votes
0 answers

what are the principles of good design with Wolfram Language a la Zen of Python?

The Zen of Python — is a list of 19 general truths for Python design principles. ( https://medium.com/@Pythonidaer/a-brief-analysis-of-the-zen-of-python-2bfd3b76edbf )
3
votes
1 answer

Refactoring: Why? When? How?

A good Refactoring can transform a kludgy WL code-base into a thing of pristine coherency but how to do so consistently?
Ronald Monson
  • 6,076
  • 26
  • 46
2
votes
0 answers

Should SubsetMap be called CombineAt?

I'm a big fan of the functionality introduced by SubsetMap but am puzzled as to why it was not called "CombineAt". There are multiple reasons: Indicative: Combining the elements of a given expression at given positions seems to capture what it does…
Ronald Monson
  • 6,076
  • 26
  • 46