Fork me on GitHub
#off-topic
<
2017-11-03
>
val_waeselynck08:11:39

@andy.fingerhut So did I, but then @melvoloskov really made it sound great 😄

qqq14:11:13

has anyone used http://www.red-lang.org/ ? I was reading a news.yc article about forth/apl, and someone listed 'rebol/red' up there as one of the most amazing/concise languages of all time, but I don't understand yet why it's so great

mobileink18:11:51

you want conciseness, look at J. if you don't mind a headache.

dominicm15:11:14

Their demos on the homepage look pretty concise for the complexity they appear to hold.

Alex Miller (Clojure team)18:11:17

I added a comment on there with a transducers version and a fixed version of the seq one that preserves types. Specter is the slowest of the three.

gdeer8119:11:21

The Alex Miller version is always going to look better and be more performant

Alex Miller (Clojure team)20:11:39

I have a lot of evidence to the contrary :)

borkdude22:11:56

@U064X3EF3 Ah cool. Just looked at the comment. Wonder why the transducer version is slower than the non-transducer one? Probably because the source collection is too small to reap benefits of transducers?

Alex Miller (Clojure team)22:11:26

Yeah transducers would prob win on larger data. vec is also very fast on small colls because it just creates an array and just gives it to a vector as the root node

borkdude17:11:26

(aren’t all polls subjective?)

ajs17:11:35

I generally always prefer the core lang over other tools unless there is a clear need for them. If the need is primarily syntax and to preserve types, in this example I don't see the benefit. Rarely does it matter to me if something stays a vector instead of just a sequence. Also I don't see much of a benefit to the syntactical differences here.

qqq17:11:19

@dominicm: it's not clear to me if that is due to library design or fundamental language properties

ajs17:11:35

I generally always prefer the core lang over other tools unless there is a clear need for them. If the need is primarily syntax and to preserve types, in this example I don't see the benefit. Rarely does it matter to me if something stays a vector instead of just a sequence. Also I don't see much of a benefit to the syntactical differences here.