mikaelj | 7 years ago | on: 'Spectacular' diabetes treatment could end daily insulin injections
mikaelj's comments
mikaelj | 8 years ago | on: NeoVim 0.2.0 released
mikaelj | 9 years ago | on: NeoVim 0.2.0 released
mikaelj | 9 years ago | on: NeoVim 0.2.0 released
mikaelj | 9 years ago | on: NeoVim 0.2.0 released
mikaelj | 9 years ago | on: NeoVim 0.2.0 released
mikaelj | 9 years ago | on: Pixie – A small, fast, native Lisp
I'd settle for a gdb backend, really. But printf-debugging is unacceptable.
mikaelj | 9 years ago | on: Theresa May: UK must leave European single market
mikaelj | 10 years ago | on: S-Lang Programmer's Library
mikaelj | 10 years ago | on: Google and Red Hat announce cloud-based scalable file servers
mikaelj | 10 years ago | on: Show HN: `diff arc0 arc3.1`
## if
val = func()
if val: # standard form
code(val) # of if
## aif
aif(func, code) # not obvious that it does the same thing
# and limits you to using a function defined
# elsewhere, or Python's crippled one-line lambda.
Whereas in Lisp, you'd do: ;; regular when
(let (val (func))
(when val ; standard form
(func val))) ; of when
;; awhen
(awhen (func) ; standard form of
(func it) ; when, with added bound value
; possibly other
; code goes here
)
Do you see how the two forms of Python look very different, and the two forms of Lisp look the same?If you don't like magic, you could invent an awhen that took an extra parameter that designates the name to bind the result to, e.g. (awhen val test).
So.
Yes - you can achieve the same thing, as in any programming language that is Turing complete.
No - you cannot get the same syntax. And syntax affects readability and familiarity.
mikaelj | 11 years ago | on: What was your best passive income in 2014?
mikaelj | 12 years ago | on: Neovim's Next Feature Poll
mikaelj | 12 years ago | on: Neovim's Next Feature Poll
mikaelj | 12 years ago | on: Neovim's Next Feature Poll
A very good way of thinking.
mikaelj | 12 years ago | on: Neovim's Next Feature Poll
I'd prefer if they could be renamed to "Fetaure X which enables e.g. sublime minimap" and dito for autocomplete.
mikaelj | 12 years ago | on: Hy, a Lisp that compiles to Python
What is the standard you're talking about? Common Lisp? Scheme? Clojure? Emacs Lisp?
Common Lisp, of course. That's what you refer to when you say Lisp today. Otherwise you'd say Scheme, Clojure or Elisp. And CLOS is quite a good object system, actually.
Yes, I agree -- my comment was referring to the fact that it is missing from Hy.mikaelj | 12 years ago | on: Hy, a Lisp that compiles to Python
mikaelj | 12 years ago | on: YouCompleteMe - A code-completion engine for Vim
mikaelj | 13 years ago | on: Opera moves to WebKit
I call on your "no need to rehash it here." Without even one good example, I'd say you're just trying to be elitist.
But yeah. Crappy article title.