Just use rfc1345 digraphs. In vim, do :set dg to enable, then just type <(backspace)=. Easy. Emacs also supports this.
256 karma · joined June 28, 2010
Just use rfc1345 digraphs. In vim, do :set dg to enable, then just type <(backspace)=. Easy. Emacs also supports this.
FTFY
Complexity -> Code Size Code Size -> Long Variable names (win for big codes) Complexity is bad
Therefore long variable names are a symptom of a problem, but not the problem themselves. Long variable names aren't bad, but they are still a good predictor of badness. Since size metrics are meant to predict badness, long identifiers should increase size metrics.
This has some problems (e.g. spaces vs. tabs, utf8, etc.), but all of these size metrics will be pretty loose.
FTFY
My favorite thing about SML is that it only has known-good features.
lol
Meh.
Module System
Is there a discussion of this somewhere? Why this style of module system?
Not really. Exceptions are easy to build on top of continuations, which are already part of R5RS.
- Take a simple Lisp language.
- Remove macros, s-expression.
- Add a bunch of shit that could be trivially added if you still had macros. $ cd /
$ nm=/foo
$ ls | grep nm
$ cd nm
$ pwd
/foo
$ cd ~
$ ls | grep nm
nm
$ cd nm
$ pwd
~/nm
$ echo FFFFFUUUUUUUUU
Inflexible: $ cd nm/jan/img
cd: No such director nm/jan/img
$ echo SHIT
SHIT
$ cd $nm/jan/img
Worse, It's nonstandard and only saves you one chracter. echo "export nm=`pwd`/blog"' >> ~/.profile
. ~/.profile
cd $nm
There's no need for magic when you know how to shell.Technically I use Vim, but a lot of Vim features violate my "no language specific features" rule. So I usually restrict myself to Vi features.
Not my experience at all. It's a sea of confusion and pain.