[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]

/prog/ - Programming

Programming board

Catalog

Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4, pdf
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 1 per post.


File: 1438816683135.png (95.39 KB, 680x478, 340:239, 093.png)

d5d326 No.2978

…syntax doesn't matter, but that's obviously bullshit, since programming languages are just another user interface.

However, is there serious research about effectiveness, readability etc pp.?

Not necessarily limited to programming, but also text in general?

941484 No.2991

>Some people say syntax doesn't matter

Who said that? I've never heard anyone say that in my life. Anyone who says that is clinically retarded.

Syntax is literally the central factor of a programming language.

The speed of a compile, or your program to be interpreted, is 100% dedicated to the compiler and interpreter. Those are not part of the language. They're made for the language, which is defined by it's syntax.

A programming language is strictly the set of rules that someone has defined it by. Technically, every language capable of being turing complete is a programming language, so English could be a programming language.

Whoever told you that should be beheaded.


8c59c0 No.3003

>>2991

>Who said that? I've never heard anyone say that in my life.

>some C++/LISP/PERL/ML-style folks implied so


23008d No.3004

>>3003

>Lisp user telling you syntax doesn't matter

They probably didn't know what they were talking about. Lisp's syntax is the major reason why it's so useful.


ab85a7 No.3005

>>2991

>>3003

>>3004

That's all pretty dank and meme'd, but could we go back to topic?


2072be No.3030

Most likely the person who told you this was talking about abstract concepts, in which it isn't so much the syntax of the language you need to focus on, but the core idea. At least that is my best guess.

For example, you could describe rocket mechanics in English, German, or Russian, and while the syntax is different, the abstract concepts are the same.

It is possible that the language could inhibit your understanding of a concept, and this is a case where syntax does matter. For instance it would be quite hard to talk about rocket propulsion in Swahili.


78f706 No.3031

Syntax matters for learning programming, which is why SICP chose a language with almost no syntax so you could focus on programming and not get hung up on whitespace/syntax.

Syntax also matters to Don E Knuth who invented literate programming so you wouldn't need comments (since almost nobody properly comments) and you could read a program like a book.


d6cea1 No.3910

>>2991

>Technically, every language capable of being turing complete is a programming language, so English could be a programming language.

True. But what separates languages from programmming languages is that they are not 100% literal.

>>3031

But that requires that there's no ambiguity in the names of the variables, yes?




[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]