<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Josh Tilles wrote at 08/31/2011 01:03 PM:
<blockquote cite="mid:05451BAE-8A01-4E91-BA6A-502CFB38B1A8@gmail.com"
type="cite">Dear Racketeers,
<div>I'm (comparatively) young, and so also not familiar with the
social protocols of IRC & newsgroups in the world of software
development.</div>
</blockquote>
<br>
Just ask questions. That's what everyone does, as you'll see from
skimming the email list archives.<br>
<br>
<blockquote cite="mid:05451BAE-8A01-4E91-BA6A-502CFB38B1A8@gmail.com"
type="cite">
<div>-- Is there any sort of general practice or prevailing taste in
when to use (for example) <b>null</b> vs <b>empty</b> vs <b>(list)</b>?
What about <b>(let ([...]))</b> vs <b>(local (define ...))</b>? <br>
</div>
</blockquote>
<br>
I think most people do "'()" when they want a literal null list. Don't
use "(list)", since that's a procedure call.<br>
<br>
As for "let" and such vs. local "define" and such, there is no
universal agreement. Flip a coin and start doing it one way, and once
you have more experience, you might make an informed decision to switch.<br>
<br>
Don't worry too much about conventions. There is disagreement on a lot
of things. You will quickly find better ways to do things than how you
initially do them. The most important thing, if you're not going to go
through HtDP, is to start coding, intermixed with reading.<br>
<br>
<blockquote cite="mid:05451BAE-8A01-4E91-BA6A-502CFB38B1A8@gmail.com"
type="cite">
<div>-- When is it appropriate to use RackUnit, and when should
Contracts be used instead?</div>
</blockquote>
<br>
Contracts (and Typed Racket) are orthogonal to doing unit tests with a
library like RackUnit. Unit tests tests that your module behaves as
expected. Contracts and Typed Racket are more useful for making people
call your module correctly. (That's not the full answer, but does that
make sense?)<br>
<br>
<blockquote cite="mid:05451BAE-8A01-4E91-BA6A-502CFB38B1A8@gmail.com"
type="cite">
<div>P.S. Has anyone given any thought to consolidating some of the
Racket discussion to a StackExchange site? Or something else of that
ilk?</div>
</blockquote>
<br>
Racket info is getting spread over too many places already, IMHO. Eli
is the only person in the world who can find and follow them all. I'd
like to get more people on the Racket email list, and off their little
islands where they're getting lower quality and not being brought into
the fold.<br>
<br>
<div class="moz-signature">-- <br>
<a class="moz-txt-link-freetext" href="http://www.neilvandyke.org/">http://www.neilvandyke.org/</a>
</div>
</body>
</html>