Неужели это правда?
Jun. 13th, 2015 03:02 pmПишет тут один кадр,
I’ve come to realize that understanding pointers in C is not a skill, it’s an aptitude. In first year computer science classes, there are always about 200 kids at the beginning of the semester, all of whom wrote complex adventure games in BASIC for their PCs when they were 4 years old. They are having a good ol’ time learning C or Pascal in college, until one day the professor introduces pointers, and suddenly, they don’t get it. They just don’t understand anything any more. [...] For some reason most people seem to be born without the part of the brain that understands pointers.
I’ve come to realize that understanding pointers in C is not a skill, it’s an aptitude. In first year computer science classes, there are always about 200 kids at the beginning of the semester, all of whom wrote complex adventure games in BASIC for their PCs when they were 4 years old. They are having a good ol’ time learning C or Pascal in college, until one day the professor introduces pointers, and suddenly, they don’t get it. They just don’t understand anything any more. [...] For some reason most people seem to be born without the part of the brain that understands pointers.
no subject
Date: 2015-06-14 12:18 am (UTC)no subject
Date: 2015-06-14 12:27 am (UTC)no subject
Date: 2015-06-13 10:21 pm (UTC)no subject
Date: 2015-06-13 10:24 pm (UTC)no subject
Date: 2015-06-13 10:25 pm (UTC)no subject
Date: 2015-06-13 10:32 pm (UTC)Другое дело, что синтаксис С в этом смысле весьма коряв: символ "звездочка" путается с умножением, да и стрелочка из минуса и знака "больше" делу не сильно помогает. С++ еще больше запутывает дело наличием ссылок (references).
no subject
Date: 2015-06-13 10:36 pm (UTC)no subject
Date: 2015-06-13 10:36 pm (UTC)no subject
Date: 2015-06-13 10:39 pm (UTC)no subject
Date: 2015-06-13 10:43 pm (UTC)В цитате упоминается и Паскаль, так что дело не в синтаксисе.
no subject
Date: 2015-06-13 10:53 pm (UTC)no subject
Date: 2015-06-13 10:54 pm (UTC)no subject
Date: 2015-06-13 10:57 pm (UTC)no subject
Date: 2015-06-13 11:05 pm (UTC)no subject
Date: 2015-06-13 11:06 pm (UTC)no subject
Date: 2015-06-13 11:08 pm (UTC)no subject
Date: 2015-06-13 11:13 pm (UTC)no subject
Date: 2015-06-13 11:17 pm (UTC)Реально ж не rocket science :)
no subject
Date: 2015-06-13 11:20 pm (UTC)no subject
Date: 2015-06-13 11:21 pm (UTC)Остается домыслить, как интерпретировать переменные, которым присвоено значение указателя.- Не надо, точка - она точка и есть, ее внутренняя структура несущественна.no subject
Date: 2015-06-13 11:25 pm (UTC)no subject
Date: 2015-06-13 11:27 pm (UTC)no subject
Date: 2015-06-13 11:29 pm (UTC)no subject
Date: 2015-06-13 11:30 pm (UTC)no subject
Date: 2015-06-13 11:31 pm (UTC)