|
![](/i/fill.gif) |
Am 18.08.2013 09:50, schrieb Warp:
> Orchid Win7 v1 <voi### [at] dev null> wrote:
>> On 17/08/2013 05:56 PM, Warp wrote:
>>> Having been a teaching assistant at the computing science lab, I got to
>>> see some pretty weird programs made by students.
>>>
>>> For example, you wouldn't believe how complicated calculating the length
>>> of a 2D vector can become in the hands of an inexperienced programmer.
>>> (This should be a literal one-liner, yet even 100 lines of code were
>>> regularly broken just to do this simple thing.)
>
>> Hmm, yes. I'm just trying to visualise that now... What would I do if I
>> had no idea what I'm doing? (I guess the question is, how many of these
>> programs ever *worked*?)
>
> Mind you, these people generally knew the pythagorean formula to do the
> job (after all, they were university students.) They still managed to
> break the 100-line mark.
That /is/ scary - then again, maybe they didn't know the sqrt() function?
Post a reply to this message
|
![](/i/fill.gif) |