Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
evanrmurphy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
evanrmurphy
16y ago
> My point is just that in any modern language at a reasonable level of granularity, the order in which you write the code is 99% independent from the order in which you execute it. I believe that in most dialects of lisp, macros must
92.
▲
by
evanrmurphy
16y ago
One idea about design I take from pg is that it's difficult to "even talk about good or bad design except with reference to some intended user." [1] Now, I'm relatively new to literate programming, and perhaps the answer to my question(s) w
93.
▲
by
evanrmurphy
16y ago
My US-made computer keyboard: http://pckeyboards.stores.yahoo.net/cus101usenon.html . On second thought, this isn't a major product at all. It's actually quite obscure. I just like it a lot.
94.
▲
by
evanrmurphy
16y ago
> I'm not sure how my brain would react to non-delimited forms (ie, the implicit pairs). You probably wouldn't like it. ;) Seriously though, I think what we're used to plays a tremendous role in our preference here. > I also don'
95.
▲
by
evanrmurphy
16y ago
Thanks for your straight-up and instructive comment. > And indeed, there is a point in the learning curve where you get confused about the proper numbers of parentheses for certain kinds of expressions (so-called 'special forms'). [...
96.
▲
by
evanrmurphy
16y ago
> Clojure if you need to build anything serious. Could you please link to some web apps built in Clojure? I really wanted to use Clojure for web development, but because I couldn't find many existing projects, I kind of concluded that
97.
▲
by
evanrmurphy
16y ago
As JavaScript becomes increasingly ubiquitious thanks to budding frameworks like node.js, the lisp->javascript compilers start to look more interesting. Parenscript [1], Scriptjure [2] and Scheme2Js [3] are the respective projects for C
98.
▲
by
evanrmurphy
16y ago
There's a huge difference between knowing that something is true and wanting to be reminded about it constantly in graphic detail.
99.
▲
by
evanrmurphy
16y ago
> Allowing you to change back to your old profile at will wouldn't be a very feasible move, I'd imagine. I agree. It would be a real headache. That's why I would have been really impressed if they did it. Or rather, I would have been
100.
▲
by
evanrmurphy
16y ago
Your line of code is so long it's causing this Hacker News comments page to have horizontal scrolling! I've never seen that before. :) In case you didn't know, HN will format code if you prefix it with two spaces like this: document.que
101.
▲
by
evanrmurphy
16y ago
> One thing that's fascinating me is how they're letting this update deploy virally, by itself. Are you saying it's opt-in only for everyone? My friend got the new profile automatically, though I did not. I see that I can choose to ge
102.
▲
by
evanrmurphy
16y ago
Vinge's "superhuman intelligence" rhetoric bothers me because it suggests that intelligence is a one-dimensional quantity. I don't think this makes sense except in the context of specific domains. For example, a basic calculator has superhu
103.
▲
by
evanrmurphy
16y ago
To make software so extensible that you never have to rewrite it, or so painless to rewrite that you never mind.
104.
▲
by
evanrmurphy
16y ago
> There are a lot of things wrong with this analogy I think so. As a rule, when something can be developed incrementally rather than planned and engineered, it should be. This makes mistakes less expensive, allowing you arrive at a sa
105.
▲
by
evanrmurphy
16y ago
Typically I'm not patient enough to learn a new language very systematically, so instead I find myself following a pattern like this: 1. Hear about how great the macros are that Lisp has or the monads are that Haskell has enough times that
106.
▲
by
evanrmurphy
16y ago
Speaking of which, from the OP: > what is the first thing you write ...
107.
▲
by
evanrmurphy
16y ago
Thanks for sharing, I didn't know about pabbrev-mode! This should help me show the IDE guys that Emacs can still dance. ;)
108.
▲
by
evanrmurphy
16y ago
I was a vim user and made the switch to Emacs. After finding out about Viper [1] I had to try it. If what you love about vim is the genius key bindings and modal editing, you don't really have anything to lose. In that sense, you could say
109.
▲
by
evanrmurphy
16y ago
> Why not expand on the concept... Well I'm glad he didn't wait to show it until after he'd expanded on the concept. This is a great example of software that does one thing and does it well.
110.
▲
by
evanrmurphy
16y ago
Arrays will be supported using one of these forms: '(1 2 3) => [1, 2, 3] ([] 1 2 3) [1 2 3] Objects with one of these: ({} a 1 b 2) => {a: 1, b: 2} {a 1 b 2} There's also the possibility of bringing ideas f
111.
▲
by
evanrmurphy
16y ago
Sibilant ( http://sibilantjs.info/ ) and lisp.js ( http://lisp-js.posterous.com/lispjs-a-lisp-for-nodejs-0 ) are two related projects.
112.
▲
by
evanrmurphy
16y ago
Thank you for all your feedback so far. Is there anything about the existing lisp-to-js compilers that you wish was different? I've just added a piece about the dot operator to the examples. I don't think any of the existing compilers have
113.
▲
by
evanrmurphy
16y ago
do is intended to be like do in Arc or Clojure or progn in Common Lisp. It is not supposed to be a loop. Does this clarify or have I misunderstood your comment?
114.
▲
by
evanrmurphy
16y ago
Infix and unary operators are pretty straightforward, since they're just prefix versions of their JavaScript counterparts: (&& x y) => x && y (|| x y) => x || y (+ x y) => x + y (- x y) =&
115.
▲
Ask HN: Designing a Parenscript alternative
13 points
by
evanrmurphy
16y ago
|
13 comments
116.
▲
by
evanrmurphy
16y ago
> Two tendencies combine to make "parentheses" the Lisp topic that in sheer quantity dwarfs all other Lisp topics added together Parentheses (and along with them s-expressions and macros) are one of the few characteristics still uniqu
117.
▲
by
evanrmurphy
16y ago
Update: The page at http://www.dwheeler.com/readable/ appears to be the project's homepage.
118.
▲
by
evanrmurphy
16y ago
I would really like to know more about these past proposals for conventional-looking syntax. I already know of a few, including the OP and SRFI 49 [1]. Could you offer any additional reading on the subject? Some quotes from a different page
119.
▲
by
evanrmurphy
16y ago
This touches on the core of my enthusiasm about sweet-expressions. I'd like to make a "SweetScript" that compiles to JavaScript (via some lightweight lisp) and could essentially serve as a CoffeeScript with macros. Would you find such a too
120.
▲
Sweet-expressions: A readable format for Lisp-like languages
(dwheeler.com)
85 points
by
evanrmurphy
16y ago
|
81 comments
More ›