Message Boards Message Boards

3 Replies
6 Total Likes
View groups...
Share this post:

Posting to Community: images vs code suggestion.

Posted 10 years ago

Hello A recurring discussion on community is about posters using images instead of cut and pasted code.


Suggestion: Above the community posting editor, there is enough room to the right of the editing icons to add

"Use <> to cut and paste code; please do not paste images of code"

I believe many first time users skip the Community Guidelines in their rush to seek feedback.

POSTED BY: W. Craig Carter
3 Replies

Thank you for your suggestion, Craig, - moderators often think along the same lines. I will bring it to our team for consideration.

POSTED BY: Vitaliy Kaurov

Dear Edvin, Guilty is far too strong. Your intentions were fine.

The symbols do appear correctly when someone copies and pastes your code back on into a notebook.

However, when coding in mathematica, I seldom use symbols and subscripts. I find waveFunction to be easier to read and less prone to error than $\psi$, angularFrequency to be better than $\omega$, mass to be a better symbol than M, and accell to be a better symbol than A. It self-documents to use longer variable names. Symbols are a remnant of physical typesetting and paper....

Those that would give the best answers to questions work quickly and aren't likely to type out an expression. They likely test the result for syntax by evaluating code. I am raising this point as an attempt to be helpful.

POSTED BY: W. Craig Carter
Posted 10 years ago

I am a new member and I am guilty of posting pictures. I think, I have come to understand why it is important to post the code.

However, I have two issues that I find less than ideal - in my opinion. - The code becomes very hard to read when one looks at I.E. [\Pi] instead of the actual Greek symbol. - And, the code itself is not a good substitute for the background math or science behind the code. Perhaps, the two are exclusive but I do not see it that way.

POSTED BY: Edvin Beqari
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract