43 ms·
> Wtf kind of intro to a programming language doesn’t include syntax rules? Given that most languages don’t have syntax rules or anything like it, I’m gonna go
by dented42 1mo ago
> Wtf kind of intro to a programming language doesn’t include syntax rules?
Given that most languages don’t have syntax rules or anything like it, I’m gonna go out on a limb and say that most language introductions/overviews/tutorials don’t mention it.
- AnimalMuppet 1mo agoMost? I question that. In fact, what languages can you say do not have syntax rules?
- aobdev 1mo agoPython and Java do not have any similar constructs
- jibal 1mo agosyntax-rules refers specifically to Racket macros. Since macros are a very important part of Racket, complaining that a friendly introduction mentions them is [insert non-friendly characterization].
- dented42 1mo agoC, python, java, Fortran, ruby, Common Lisp, Haskell, go, zig (I think), forth, swift, cobol, pretty much any language that doesn’t directly descent from Scheme.