On 7/17/2012 11:12 AM, Loup Vaillant wrote:
Pascal J. Bourguignon a écrit :
BGB <[email protected]> writes:
dunno, I learned originally partly by hacking on pre-existing
codebases, and by cobbling things together and seeing what all did and
did not work (and was later partly followed by looking at code and
writing functionally similar mock-ups, ...).
some years later, I started writing a lot more of my own code, which
largely displaced the use of cobbled-together code.
from what I have seen in code written by others, this sort of cobbling
seems to be a fairly common development process for newbies.
I learn programming languages basically by reading the reference, and by
exploring the construction of programs from the language rules.
When I started learning programming on my TI82 palmtop in high school,
I started by copying programs verbatim. Then, I gradually started to
do more and more from scratch. Like BGB.
But when I learn a new language now, I do read the reference (if any),
and construct programs from the language rules. Like Pascal.
Maybe there's two kinds of beginners: beginners in programming itself,
and beginners in a programming language.
yep.
likewise, many people who aren't really programmers, but are just trying
to get something done, probably aren't really going to take a formal
approach to learning programming, but are more likely going to try to
find code fragments off the internet they can cobble together to make
something that basically works.
sometimes, it takes a while to really make the transition, from being
someone who wrote a lot of what they had by cobbling and imitation, to
being someone who really understands how it all actually works.
Loup.
_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc
_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc