Tuesday 8 February 2005 — This is close to 20 years old. Be careful.
Ryan (not sure of his last name) is using Cog and has written up some tips on Code Generation with Python, Cog, and Nant. It’s the first article I’ve seen about Cog, so I’m flattered.
Also on Ryan’s blog are amusing coding tips from his brother Theoden. Tip #1:
litter your code with unused variables and assignments — if you have too few variables it’ll make your application too light and it’ll float away
and tip #2:
if you have a logical grouping of business logic, split the logic into two separate functions. Like so:
eoc_check_toxicity()eoc_toxicity_checks()that way if you accidentally delete one of the functions, at least some of the logic will still be there
Comments
Add a comment: