[Swan-dev] [Swan-commit] Changes to ref refs/heads/master

D. Hugh Redelmeier hugh at mimosa.com
Sun Apr 6 05:25:49 EEST 2014

| From: Lennart Sorensen <lsorense at csclub.uwaterloo.ca>

| grepping for ty still matches type.

egrep -n '\<ty\>' *.[ch]

Actually, I have a macro in my 30-year-old text editor that does
find * '(' -name '*.[ch]' -o -name '*.cpp' ')' -print0 | xargs -0 -r egrep -n '\<ty\>'
if my cursor is on ty.

| I do hate meaningless variable names.  It makes it much harder for people
| not familiar with the code to make sense of it.

As I said, the meaning is a bit dubious to start with.

| > Normally, if this mattered, we'd use a prefix.  But no prefix came to
| > mind.  cert.cert_type looks silly.
| And ty doesn't?

I think that it is suggestively odd :-)

| Oh dear.

Yeah, well, it is hard to delete code.

Last week this struct was more intricate.  I fixed that.  But the team
doesn't want to lose the promise of future features.

More information about the Swan-dev mailing list