Archives for: April 2008
Vellum coming along nicely
April 26th, 2008First, a great aphorism from Zed's (Vellum book](http://www.zedshaw.com/projects/vellum/manual-final.pdf) (pdf):
Makefiles are the C programmer’s REPL and interpreter.
He also asks himself:
What’s the minimum syntax needed to describe a build specification?
I predict good things based on the presence of that question alone.
Epic [FAIL]
April 25th, 2008You have my permission to name your next test framework, library, or script "epic" and bill it as "more full of [FAIL] than any other test thingy".
Oh, and http://www.google.com/search?q=epic.py
/me looks in Titus' direction...
LINQ in Python
April 22nd, 2008Chui's counterpoint pines:
There are some interesting ideas raised in LINQ that even Python developers ought to explore and consider adopting in a future Python.
Python had all this before LINQ in Dejavu and now Geniusql, and more pythonically, to boot. Instead of:
var AnIQueryable = from Customer in db.Customers where
Customer.FirstName.StartsWith("m") select Customer;
you can write:
m_names = Customer.select(
lambda cust: cust.FirstName.startswith("m"))
and instead of:
var AverageRuns =(from Master in this.db.Masters
select Master.Runs).Average()
you can write:
avgruns = Masters.select(lambda m: avg(m.Runs))