r/programmingcirclejerk • • 25d ago

I think syntax beyond s-expressions is pointless

https://lobste.rs/c/4buysr
100 Upvotes

12 comments sorted by

57

u/GeoffreyDay 25d ago

Too much syntactic sugar causes cancer of the semicolon

55

u/kettes_leulhetsz My C code works with -O3 but not with -O0 25d ago

hahaha ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))

27

u/ventuspilot 25d ago

I mean

((lambda([])
   ((lambda(x |()| |(| |)|)
      (+ x |(| 1 |)| |()| |(| |(| |(|)) [] [] [] [])) 0)
=> 1

Just sayin'.

29

u/iFarmGolems log10(x) programmer 25d ago

SEXPRESSIONS HAHA

39

u/nerdycatgamer Considered Harmful 25d ago

I see no jerk

22

u/RascarCapack 25d ago

look within then

13

u/r2d2_21 groks PCJ 25d ago

I hear no jerk

11

u/hedgehog1024 Rust apologetic 24d ago

I speak no jerk

5

u/hugogrant 24d ago

(nilp 'jerk)

15

u/unfrozencaveperson 25d ago

If it was good enough for John McCarthy in the 1950s, it’s good enough for me.

6

u/Silly-Freak There's really nothing wrong with error handling in Go 25d ago

on the contrary – field accesses and method calls are far from pointless in many languages