Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Hasktard admits LITHP superiority

Name: Anonymous 2017-02-18 17:07

https://deque.blog/2017/02/17/quickcheck-is-fun-deal-with-it/

Since we are already on the LISP subject, we can take this opportunity to solve the long lasting developer debate. Which is better, infix or prefix notation?
Because every developer’s life goal is to golf his code, the winner will be the format that results in the shortest string representation in average.

The results shows the quite stunning performance of the prefix notation, winner by quite a large margin:

25% characters less for prn for expressions of complexity 30
30% characters less for prn for expressions of complexity 100

We would not want to conclude too fast and declare that prefix notation completely owns the infix notation. Instead, we hope the reader will come to this same conclusion by himself.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List