Arc Forumnew | comments | leaders | submitlogin
1 point by macdice 5562 days ago | link | parent

Also, is there a way to predict/guess/remember which letters to leave out of abbreviated identifier names? No... Consistent hyphenation and abbreviation are what make Scheme look so much nicer than Arc (and Clojure and every other mangled dialect).


1 point by palsecam 5560 days ago | link

Well, fallintothis explained it. There is a scheme: if the name is readable/unambigous w/out hyphens, don't use hyphens, else use some. There are exceptions like 'end-tag to match 'start-tag.

There are some "errors" assuming this scheme is correct, like 'fill-table which could be 'filltable. But Clojure has doto (not do-to) and doall (not do-all) for instance. I don't know Scheme enough, but Common Lisp, as fallintothis pointed it out, also has inconsistencies. I suppose Scheme has some.

-----