News for hackers. Stuff that matters.
Re:Poll: Where do you live? by abdusco on Friday February 04, 2022 @04:29PM (#30213532)
I never understood the purpose of languages with unicode operators that can supposedly express a 30 line script in like 2 symbols.

Are they purpose built on the spot for CodeGolf?

Re:Poll: Where do you live? by lgeorget on Friday February 04, 2022 @04:44PM (#30213735)
Not on the spot, a condition for the answer to be accepted is that the language must exist before the challenge, but yes, many languages exist only just for the purpose of golfing. Mathematica is a legitimate language though, it just is the case that some operations are surprisingly compact.
Re:Poll: Where do you live? by LeifCarrotson on Friday February 04, 2022 @05:12PM (#30214063)
Like checking if an image is of a goat:

    ImageInstanceQ[x,"caprine animal",RecognitionThreshold->i/100]
https://codegolf.stackexchange.com/a/71680
Re:Poll: Where do you live? by danuker on Friday February 04, 2022 @04:47PM (#30213773)
I doubt Mathematica is built for code golf. Check out Burlesque (which is ASCII).

https://mroman.ch/burlesque/docs/BLSQ.html

Re:Poll: Where do you live? by e12e on Friday February 04, 2022 @08:36PM (#30216134)
If ask for a "histogram" of the data, did I just write a 30 line script as a single word?