Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm not an expert on programming language design, so I was hoping someone can help me understand. When people talk about syntax, do they mean how bits of text are strung together to make programs; kind of from a down-and-dirty, implementation-level POV? As opposed to the more high-level thinking of the kinds of things you can get done in the language?

So for example, assignment of a value to a variable is a high-level "thing you get done" in a language, which isn't syntax, whereas using := versus = for assignment is a matter of syntax? Do I have the right idea?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: