Here is an excellent collection of 45 free books in PDF format which I found here — "Programming Notes for Professionals" books.
The PDFs contain this on one of their very first pages:
Please feel free to share this PDF with anyone for free
This ${insert title here} Notes for Professionals book is compiled from Stack
Overflow Documentation, the content is written by the beautiful people at Stack
Overflow. Text content is released under Creative Commons BY-SA, see credits at
the end of this book whom contributed to the various chapters. Images may be
copyright of their respective owners unless otherwise specified.
Because of the range of software development related topics covered, I thought this might be of interest to a large fraction of people on SN.
(Score: 0) by Anonymous Coward on Sunday January 21 2018, @10:30PM (8 children)
I know a lot of programmers who are dyslexic. The areas of the brain responsible for programming are not necessarily the same as the ones that deal with spoken and written languages and their peculiarities. Grammar rules are often arbitrary and illogical.
(Score: 2) by requerdanos on Sunday January 21 2018, @10:41PM
No, of course not, but there's overlap between the disciplines with things like "what function does this reserved word serve" and "what style or syntax is needed here to convey the following instruction." This overlap is why, from assembler on up, programming languages are, almost without exception, metaphors for written communicative language.
This statement describes programming languages in the same way as written ones.
Programmers transitioning Perl <—> Php, for example, might notice such a thing.
(Score: 4, Insightful) by Ethanol-fueled on Sunday January 21 2018, @10:54PM (3 children)
I think you're full of shit. I've worked with a lot of dyslexic people. They understand language and rules just fine, maybe even better than you do, the worst you're gonna get from them is a pair of transposed numbers during manual data entry, whoop-de-goddamn do, you've never done that before?
The real travesty is that they're treated like retards in grade school.
(Score: 3, Funny) by requerdanos on Sunday January 21 2018, @11:47PM (1 child)
This is the second of your posts that I have been tempted to mod up--not down, up--today. You feeling okay?
(Score: 2) by VanessaE on Monday January 22 2018, @02:56AM
I don't get it.... no racial epithets, no minority references, genuinely insightful content. Gotta be the first time I've ever modded-up something E-F wrote.
Are we in the mirror universe or something?
(Score: -1, Troll) by Anonymous Coward on Sunday January 21 2018, @11:58PM
Hit a nerve huh?
(Score: 2) by requerdanos on Sunday January 21 2018, @11:52PM (2 children)
In fact, "Two statements may be joined by a semicolon, but not a comma" literally applies equally to English and to programming contexts such as C, SQL, and PHP... It is also one of the most "not that hard" things that could possibly apply here.
(Score: 2, Informative) by jb on Monday January 22 2018, @02:31AM (1 child)
Not quite. At least in C it is perfectly legal to join two statements with a comma. This is most commonly seen when initialising a loop, as in:
for (i = 0, j = 0; i < k - j; i++)
a[i] = foo(i, &j);
(Score: 1, Interesting) by Anonymous Coward on Monday January 22 2018, @02:46PM
No, it isn't. It is legal (in contexts where the comma isn't interpreted as argument separator) to join expressions with a comma, forming another expression. Now in C, a statement may (and often does) consist only of an expression, but not all statements are of that form. For example, the following is a valid sequence of two statements:
If it were legal to join statements with a comma, then the following would be legal code, too:
Your compiler will tell you otherwise.