Arc Forumnew | comments | leaders | submit | treef's commentslogin
1 point by treef 6618 days ago | link | parent | on: Poll: What do you edit Arc code with ?

vi drscheme gedit

-----


that is a neat idea ... some thing to add to my list of good ideas :)

-----


i second that!

-----

1 point by treef 6634 days ago | link | parent | on: On Lisp as a guide to Arc

too bad i boxed the book up with other books during move ... now i will find the on lisp book in 10 years....

-----

6 points by drcode 6634 days ago | link

FYI- It's worth finding, if you didn't know:

http://www.amazon.com/gp/offer-listing/0130305529/ref=dp_olp...

-----

6 points by tjr 6634 days ago | link

I've seen the price of a used copy of On Lisp rise over the years... now circa $400? With a PDF available free of charge from pg's website?

I highly value good books, and this is one of the best CS books out there, but even so, I'm surprised at the market value for a used copy.

Not complaining, just observing and wondering. Carry on.

-----

1 point by treef 6634 days ago | link | parent | on: Thanks for Comments link in RSS

hasnt it always been there?

-----

2 points by treef 6634 days ago | link | parent | on: User defined wrapping macros (like [ _ ])

pg said he would add some thing like this himself

-----

2 points by treef 6634 days ago | link | parent | on: . and : I'm not sure I get it

i would say when you use a.b!c.d couple of times in your code but dont feel like making a macro or setting it to a variable. Naming things is one of the hardest problems in CS so name like a.b!c.d suits that expression well as it turns out to be that expression.

-----

4 points by treef 6634 days ago | link | parent | on: Infix Math

that is not a bad idea, I was against adding infix stuff to lisp till i saw this this makes 1 still act like lisp and 2 look nice without any sort of additional syntax, good job eds.

-----

2 points by eds 6634 days ago | link

Which 1 and 2 are you referring to exactly? The only points I see right now are those in the previous discussion but those don't entirely make sense in view of your comments.

I was really glad when cadaver suggested this solution to infix syntax. I just don't like the look of expressions like

  +[*[2; f[x/3]]; y]
even if your syntax allows you to shorten math expressions to (for example)

  2*f[x/3]+y
because in my opinion you lose on everything else. But now I'm just rambling....

-----

5 points by cadaver 6634 days ago | link

I think treef was simply enumerating the good points.

-----

3 points by treef 6638 days ago | link | parent | on: New version

i think the code will look rather harry if they are allowed to be every where.

-----


gzipped? python uses lots of its libraries to do it's stuff. I think arc can be lots shorter then python even at this point.

-----

2 points by zmei_goryn 6638 days ago | link

In this particular case libraries don't matter much as the tasks in benchmarks are mostly algorithmical, e.g. like finding spectral norm of matrix, summing numbers or solving n-body problem. Maybe for development of language it would be great if somebody could write some benchmarks to test arc brevity.

-----

More