comp.lang.ada
 help / color / mirror / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
Subject: Re: 4 beginner's questions on the PL Ada
Date: Sat, 10 Aug 2013 19:43:11 +0200
Date: 2013-08-10T19:43:11+02:00	[thread overview]
Message-ID: <87eha1787k.fsf@VLAN-3434.student.uu.se> (raw)
In-Reply-To: 88cb99c6-df8b-49f8-ac53-54b737a02c34@googlegroups.com

Shark8 <onewingedshark@gmail.com> writes:

> There's a *huge* problem with this: superficial understanding.
> This problem can lead to extremely bad code adopted as "best
> practice"/"standard practice".

There is nothing superficial about code. Code *is* programming!

And code can have a "maturing" side just as reading a book:
re-reading it two years later, and basically reading a new book
(and not because the book has changed by even a single letter).

Can you honestly say you understood semaphores, pipes, etc., the
first time you used them? For one, I admit I didn't. But now I do,
because I wrote that code, and invoked those commands, so many
times.

And all the while, I *did* something that made my system better,
more user-friendly, and/or more fun.

I could have read that chapter in "Big Book of Unix IPC" (a couple
of times), and that would have given me - the same understanding?
Perhaps, but not for sure (actually, I doubt it). The same
experience? No. Not typing, not managing a project, not compiling,
nothing like that at all. All the million "side-effects" to doing
stuff: self-confidence, creativity, etc.?  None. And all the
improvements to my system - all the .profile, .rc, .emacs,
.Xresources, all that stuff? (Now I move away from the IPC
example, but the principle holds.) Nothing. Just a very impressive
bookshelf!

But, that being said, books are *great*. If they weren't so
expensive, I would own a lot more of them. References are great,
as well. But I like mine offline (i.e., on paper).

I don't like Googling - it disturbs my workflow, and hearts my
eyes (I exclusively work in Emacs, in a Linux VT - see the
screenshots [1] - it is the best configuration - faces, the font,
etc. - that I spent years configuring, to counteract tired/dry
eyes).

Googling also reduces the mental-physical presence: relying on it
will reduce your attention span - in the room, in time - giving
you "short thoughts" instead of "long".

This may seem monkish, and it is. I like Lisp, C, LaTeX, that
stuff. I don't like Python, Java, PHP (or any web programming). I
don't like GUIs (except for very specific applications, e.g., GIS
and the like; and then I accept them for *others* to use). I don't
like IM but love mails, which I send from rmail. I don't like the
SX sites, but Usenet, for which I use Gnus. I see a pattern in
this, and I hope you do, too. (And not be offended if *you* happen
to like Java.) So you see, you can, as I, prefer code to
documentation, and there is nothing superficial about it.

> An excellent example: PHP's official site.  They go to the code
> side even in the documentation, to the point where the mb/forum
> attached to the particular function is oft littered with code
> examples... and usually bad ones once you gain a deeper
> understanding of what's going on.

That's not an excellent example. If the code is *bad*, all bets
are off... (Well, not quite, because I can learn a thing or two
from that code, and then re-write it the way I think it should be
done.) It's like me picking up the worst documentation ever
written, saying it exemplifies why documentation shouldn't be
studied.

> Then you're a step ahead of the cut-n-past script monkeys that
> the "code snipet" style seems to generate -- not to say that
> code isn't useful but, again, it seems to encourage a lazy
> psudeo-understanding.

This is 100% incorrect. I'm not going to argue with you if this is
your base, because it is not productive one bit.

-- 
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573

  reply	other threads:[~2013-08-10 17:43 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-09 16:50 4 beginner's questions on the PL Ada Emanuel Berg
2013-08-09 17:09 ` Adam Beneschan
2013-08-09 17:16   ` Emanuel Berg
2013-08-09 17:46     ` Alan Jump
2013-08-09 18:10       ` Emanuel Berg
2013-08-09 19:01   ` Randy Brukardt
2013-08-09 21:38     ` Emanuel Berg
2013-08-09 22:00       ` Jeffrey Carter
2013-08-09 22:16         ` Emanuel Berg
2013-08-10  0:39           ` Anh Vo
2013-08-10  1:24             ` Emanuel Berg
2013-08-10  6:16               ` Simon Wright
2013-08-10 12:13                 ` Emanuel Berg
2013-08-10 17:12               ` Mike H
2013-08-10 17:53                 ` Emanuel Berg
2013-08-10 19:50                   ` Dennis Lee Bieber
2013-08-10 22:23                     ` Emanuel Berg
2013-08-11  7:12                       ` Georg Bauhaus
2013-08-11 12:44                         ` Emanuel Berg
2013-08-11 21:12                           ` Bill Findlay
2013-08-11 21:22                             ` Emanuel Berg
2013-08-12 17:39               ` Anh Vo
2013-08-12 18:15                 ` Anh Vo
2013-08-12 19:57                 ` Simon Wright
2013-08-12 20:13                   ` Anh Vo
2013-08-10  0:52           ` Jeffrey Carter
2013-08-12 19:47         ` Randy Brukardt
2013-08-09 22:08       ` Robert A Duff
2013-08-09 22:23         ` Emanuel Berg
2013-08-09 22:36           ` Robert A Duff
2013-08-09 22:42             ` Emanuel Berg
2013-08-09 23:48               ` Robert A Duff
2013-08-09 23:50                 ` Emanuel Berg
2013-08-09 23:56                 ` Emanuel Berg
2013-08-10  0:44                 ` Jeffrey Carter
2013-08-10  0:51                   ` Robert A Duff
2013-08-09 22:47             ` Alan Jump
2013-08-09 23:33               ` Adam Beneschan
2013-08-09 23:43                 ` Alan Jump
2013-08-10  0:19                   ` Robert A Duff
2013-08-10  0:52                   ` Jeffrey Carter
2013-08-10  0:48                 ` Robert A Duff
2013-08-09 23:40               ` Robert A Duff
2013-08-09 23:25       ` Dennis Lee Bieber
2013-08-09 18:29 ` Jeffrey Carter
2013-08-09 18:51   ` Adam Beneschan
2013-08-09 19:05     ` Jeffrey Carter
2013-08-09 18:35 ` Simon Wright
2013-08-09 23:21 ` Dennis Lee Bieber
2013-08-09 23:48   ` Emanuel Berg
2013-08-10  2:45     ` Dennis Lee Bieber
2013-08-10  3:33       ` Emanuel Berg
2013-08-10 14:57         ` Shark8
2013-08-10 17:43           ` Emanuel Berg [this message]
2013-08-10 17:55             ` Emanuel Berg
2013-08-10 23:15             ` Simon Clubley
2013-08-11 12:16               ` Emanuel Berg
2013-08-12 18:07               ` Adam Beneschan
2013-08-11  0:34             ` Shark8
2013-08-11 12:42               ` Emanuel Berg
2013-08-11 13:24                 ` Peter C. Chapin
2013-08-11 13:37                   ` Emanuel Berg
2013-08-11 15:15                   ` Mike H
2013-08-12 17:56           ` Adam Beneschan
2013-08-10  6:03       ` Jeffrey Carter
2013-08-12 17:17         ` Eryndlia Mavourneen
2013-08-12 17:27           ` Jeffrey Carter
2013-08-10 12:31 ` Emanuel Berg
2013-08-10 12:37   ` Emanuel Berg
2013-08-10 12:52     ` Emanuel Berg
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox