polygolf-lang / polygolf

Polyglot autogolfer for https://code.golf
https://polygolf-lang.github.io
MIT License
19 stars 7 forks source link

Janet: always use `var` instead of `def` #342

Closed dokutan closed 10 months ago

dokutan commented 10 months ago

This fixes #341 by always using var.

The documentation says that def and var are identical, except for allowing mutation for variables declared with var, and as both have the same length, there is no benefit to def when golfing.