From owner-freebsd-chat Tue Jan 23 11:58:47 2001 Delivered-To: freebsd-chat@freebsd.org Received: from mail.bfm.org (mail.bfm.org [216.127.218.26]) by hub.freebsd.org (Postfix) with ESMTP id BDEEC37B401 for ; Tue, 23 Jan 2001 11:58:29 -0800 (PST) Received: from WhizKid (r34.bfm.org [216.127.220.130]) by mail.bfm.org (Post.Office MTA v3.5.3 release 223 ID# 0-52399U2500L250S0V35) with SMTP id org; Tue, 23 Jan 2001 14:00:30 -0600 Message-Id: <3.0.6.32.20010123135847.009c9400@mail85.pair.com> X-Sender: whizkid@mail85.pair.com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Tue, 23 Jan 2001 13:58:47 -0600 To: Kevin Brunelle , freebsd-chat@FreeBSD.ORG From: "G. Adam Stanislav" Subject: Re: C style continued.... (Craig and Terry) 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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