12
\$\begingroup\$

In accordance with our meta agreement, since one candidate received more votes than the others, we have a new featured language! Throughout May 2022, our Language of the Month will be:

Desmos

What's a Language of the Month?

See the meta post for nominations. In short, during May, those who wish to participate should learn (at least the basics of) Desmos, and use it to solve challenges. Participation is completely optional, but is anticipated to be fun!

Information about Desmos

Desmos is an online graphing calculator with strong mathematical functionalities. It's not designed to be a programming language, but it can certainly be used as one.

Reasons

  • Even though it is a graphing calculator, it can be used as a programming language, albeit a limited one.
  • Following the previous point, Desmos has certain limitations that make it fun/challenging to golf with.
    • For example, lists/list manipulation are quite limited; for one, lists can only be 1d, so finding clever ways around that limitation can be interesting.
  • Desmos differs from many of the more popular languages in that the code is based on mathematical(\$\LaTeX\$) formulae instead of purely on executing code instructions.
  • There is an abundance of builtin functions and functionalities(see Resources below) that you can use in your Desmos code.
  • There are active communities on Reddit, Twitter, and even Discord. People there can probably help you with any questions you may have.

Caveats

  • Strings are not supported whatsoever, meaning any challenges requiring string I/O cannot be done with Desmos.
  • Sometimes tedious to do the simple, but necessary, golfs every time an expression is copied out from Desmos. (c.f. this)
    • e.g.: \operatorname{min}\left(a,b\right) --> min(a,b)
  • Usually very hard to search on the Internet for any questions you may have; you'll most likely have to join one of the communities listed in Resources and ask the question there.

Resources

Bounties

I (emanresu A) will award a 50 rep bounty to any user's first Desmos answer this month, and a 200 rep bounty to any user's tenth Desmos answer this month.

\$\endgroup\$
1

1 Answer 1

6
\$\begingroup\$

List of all Desmos answers posted in May 2022

List of relevant tips posted in May 2022

  • add entries in the form:

    [<tip summary>](https://codegolf.stackexchange.com/a/<answer-ID>) by [username](https://codegolf.stackexchange.com/users/<user-ID>)
    

List of relevant challenges posted in May 2022

  • add entries in the form:

    [<challenge title>](https://codegolf.stackexchange.com/a/<answer-ID>) by [username](https://codegolf.stackexchange.com/users/<user-ID>)
    
\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .