Re: New notation
- From: Lars Rune Nøstdal <larsnostdal@xxxxxxxxx>
- Date: Tue, 27 May 2008 08:57:14 +0200
Dihydrogen Monoxide wrote:
On Mon, 26 May 2008 11:57:45 +0000, Andrew Reilly wrote:
On Mon, 26 May 2008 06:43:05 +0000, Dihydrogen Monoxide wrote:
I think I'll stick around. I love lisp. It just makes my eyes bleedNot really. You're just not used to absence of the dust of commas and
with the parens.
semicolons. You'll get used to the cleanliness eventually.
Actually, successive symbols strings like ))))))) give me a headache. I call it symbol shock. I don't know why.
I suppose I can live with
)
)
)
yeah, and make it "XML-based" while you're at it
you say you "love lisp" but apparently you do not know anything about lisp .. maybe this works in love, but dunno how far it'll get you
you can go from this:
void someFunction()
{
if(1)
{
a();
b();
c();
}
else
{
d();
e();
f();
}
}
...to this..
void someFunction()
{
if(1) {
a();
b();
c();
}
else {
d();
e();
f();
}
}
...to this..
void someFunction(){
if(1){
a();
b();
c();}
else{
d();
e();
f();}}
...to this..
void someFunction()
if(1)
a();
b();
c();
else
d();
e();
f();
..and instantly know that a, b, c belongs in the then-part and d, e, f belongs in the else-part - in all the examles .. your eyes do not look for syntax, only indentation when looking for structure and meaning at this level
take XML:
<person>
<name>lars</name>
<age>27</age>
</person>
...then fix it:
(person
(name lars)
(age 26))
...there, your turn; "re-fix it" for us and say you "love lisp"
--
Lars Rune Nøstdal
http://nostdal.org/
.
- Follow-Ups:
- Re: New notation
- From: Dihydrogen Monoxide
- Re: New notation
- References:
- New notation
- From: Rares Marian
- Re: New notation
- From: Lars Rune Nøstdal
- Re: New notation
- From: Dihydrogen Monoxide
- Re: New notation
- From: Andrew Reilly
- Re: New notation
- From: Dihydrogen Monoxide
- New notation
- Prev by Date: Errors when using Maxima code
- Next by Date: Re: why are Macros special? & Protection of codes.
- Previous by thread: Re: New notation
- Next by thread: Re: New notation
- Index(es):
Relevant Pages
|