Viewing profile — ICWiener
ICWiener
HN member- Joined
- Fri, Feb 01, 2013, 9:29 AM UTC
- HN karma
- 70
- Public activity
- 51 items
- HN profile
- View on Hacker News ↗
About ICWiener
No profile information was provided.
Recent public activity
-
comment
Comment #9730679
I can build strawmen too: - SmugCeeWeenie: I am so fast, look (oops, core dumped) - SmugGoWeenie: abstractions are so nasty we should get rid of functions, so that everyhting is la…
-
comment
Comment #9710649
A functional approach: (defun mirror (tree) (when tree (tree (tree-data tree) (mirror (tree-right tree)) (mirror (tree-left tree))))) For completness, here are the definitions: (de…
-
comment
Comment #9704471
I am not sure, but it seems that this may be implementation-dependent.
-
comment
Comment #9698622
Macros are not needed. You only need the UNWIND-PROTECT special operator, which is the generic feature you are looking for.
-
comment
Comment #9698611
Macros do not necessarly transform code at compile-time. A late-binding interpretation is possible. See for example http://programmers.stackexchange.com/a/274200/33157 .
-
comment
Comment #9675430
See also the Ada Gems serie of articles: http://www.adacore.com/adaanswers/gems/
-
comment
Comment #9653333
Nice article. By the way, you may want to watch this course by Hal Abelson and Gerald Jay Sussman (Henderson Escher example): http://ocw.mit.edu/courses/electrical-engineering-and-…
-
comment
Comment #9646505
When you try to apply all functions, the space becomes limited and you cannot see the resulting piece, especially when it gets tall.
-
comment
Comment #9646481
> After doing a function rather than instantly showing the next cube put a .5 second opacity transition Please, no animation. Instantaneous feedback is perfect as it is. My 2cts.
-
comment
Comment #9610863
I am surely missing something, why would you want to delay in the function?
-
comment
Comment #9605228
Yes, the use of macros is not always justified in the examples, because Python is quite expressive already. However, the ability to have macros is orthogonal with the feature set o…
-
comment
Comment #9556895
Did you not read my reply, really? I already mentionned that with a Lisp like data-format, shared sub-expressions could be denoted using CL's reader variables: (document #1=(author…
-
comment
Comment #9555880
> It's a tradeoff, of course. > Reasonable people can disagree about whether the tradeoff is worth it. > But that's my point: reasonable people can disagree. Sure, we disagree. I u…
-
comment
Comment #9555199
> Not only is he wrong, he's clearly wrong. You keep repeating that, but the more you discuss it, the less "clear" it is. > I don't understand your question. You acknowleded that w…
-
comment
Comment #9553106
Just as code is data and data is code, meta-data is another form of data. Erik' quotes are all taken from https://groups.google.com/d/msg/comp.lang.lisp/8eUxiibm_zA/C... : > [...] …
-
comment
Comment #9552272
Did you just summarize thousands of sentences in a single one? Neither nor button does mean anything without a spec of your language, and trying to infer that foo or bar is valid i…
-
comment
Comment #9551662
Erik Naggum even answererd the question about ambiguity himself in the same thread: https://groups.google.com/d/msg/comp.lang.lisp/8eUxiibm_zA/i...
-
comment
Comment #9550083
Slow clap
-
comment
Comment #9438699
Common Lisp (ql:quickload :drakma) (ql:quickload :cl-json) (ql:quickload :local-time) (defparameter *data* (cl-json:decode-json-from-string (drakma:http-request "https://gist.githu…
-
comment
Comment #9408616
Note that the given example has only one place where all combinations are defined. Not sure if this could be done in C++.
-
comment
Comment #9339451
I don't see any kind of error handling, but if I understand correctly, in some cases in Go it is not necessary to check for errors directly (an errorneous output stream would do-no…
-
comment
Comment #9280618
Regarding 1., I don't think it follows that the pattern-macro will end up in one giant namespace. I'd love to understand why you think so. And for 2, even though what you say seems…
-
comment
Comment #9278988
Macros will expand into lisp forms, not only expressions. Whether a form is an expression, a declaration or a pattern depends on the surrounding context. I would say that declarati…
-
comment
Comment #9196411
Slap. Stop whining.
-
comment
Comment #9156840
> Wait a second--is this really using exceptions for control flow? No. If it used exceptions for control-flow, the defined function would actually throw an exception. Here, we catc…