Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2001 13:58:47 -0600
From:      "G. Adam Stanislav" <adam@whizkidtech.net>
To:        Kevin Brunelle <kruptos@netzero.net>, freebsd-chat@FreeBSD.ORG
Subject:   Re: C style continued.... (Craig and Terry)
Message-ID:  <3.0.6.32.20010123135847.009c9400@mail85.pair.com>
In-Reply-To: <3A6DD0B2.B473AF52@netzero.net>
References:  <3.0.6.32.20010123091354.009de7c0@mail85.pair.com> <3.0.6.32.20010123095930.00a14550@mail85.pair.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 13:42 23-01-2001 -0500, Kevin Brunelle wrote:
>myself I write in K&R, but for a college class that I am in it must
>follow the style guide. What does the style guide say? Let's just say
>that you could scare small children with the code submitted for that
>class. It is a mixture of all the worst ideas ever conceived. It is very
>close to some code posted before (included below). Now that is ugly! Not
>only is this a bad thing, because it teaches new programmers how to
>write really ugly code as habit; but, you cannot deviate from style.

Just remind yourself of Mark Twain's adage (I think it was Mark Twain):
"I never let schooling interfere with my education."

Do for the class what the teacher wants, do it your way elsewhere.

>doing things. Another issue I had with him was licensing. He wanted all
>the code in class GPL'd I wanted my code to be BSD'd. He said that was
>fine, but any code that wasn't GPL wasn't graded.

Strange. I wonder if he has the right to do so. I am not quite sure
who owns copyright on school assignments: the school or the student
(any copyright lawyer here?) If the school, then it is theirs to do
with as they please including releasing it under GPL, and you just
need to put up with it. If the student, then he has no business to
insist on nonsense like that.

At any rate, I would not worry about it too much: Typical class
assignments are not brain surgery, so the code is not worth fighting
over. Again, I'd suggest, just do what he wants, but don't let your
schooling interfere with your education.

Cheers,
Adam

--- 
Whiz Kid Technomagic - brand name computers for less.
See http://www.whizkidtech.net/pcwarehouse/ for details.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.6.32.20010123135847.009c9400>