Re: [dev] I don't want to live on this planet anymore

From: Raphael Proust <raphlalou_AT_gmail.com>
Date: Thu, 1 Nov 2012 07:38:03 +0000

On Wed, Oct 31, 2012 at 5:49 PM, Calvin Morrison <mutantturkey_AT_gmail.com> wrote:
> An example we had to do for a quick in class activity was writing a program
> to student names (in a text files) into a list and print out their
> respective grades (in another text file). With output like this:
>
> Joe 89
> Bob 25
> Mary 100
>
> I quickly overcame the assignment with:
>
> paste names.txt grades.txt
>
> My professor responded by saying "you are doing it the wrong way".

You would have had extra points by giving your answer as an extra answer.

And if your teacher has a vague sense of humour, you can wrap your
extra answer into complicated layers (e.g. wget the source for paste,
sed to remove the parts your project does not need, compile and run;
or use perl to generate a javascript program that invokes the paste
command).

>
> It's preposterous to not use the tools given to us by unix gods.

This is why you want to take a unix environment course!

>
> Calvin
>
>
> On 31 October 2012 13:42, Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
> wrote:
>>
>> > My 3rd year computer science professor just said:
>> > "In order to have a good program, it must be large"
>> > *facepalm*
>>
>> This is something very common today. Teachers in the universities
>> create minds that only can do very difficult things. I has to say that in
>> my
>> case was the same, and took long time to me see that this was shit, but
>> usually people can't understand it because they don't know other thing.
>>
>



-- 
______________
Raphaƫl Proust
Received on Thu Nov 01 2012 - 08:38:03 CET

This archive was generated by hypermail 2.3.0 : Thu Nov 01 2012 - 08:48:04 CET