monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] Making vocab-from-string constructors explicit?


From: Timothy Brownawell
Subject: [Monotone-devel] Making vocab-from-string constructors explicit?
Date: Thu, 25 Jan 2007 16:43:24 -0600

The purpose of our vocab system is to provide some amount of type
safety. This is somewhat defeated by having the vocab-from-string
constructors not be explicit, there are a number of places that simply
use () to allow use of a variable with a type that doesn't match. I'd
like to make the constructors for this explicit, to make this practice
slightly more annoying to do and much easier to recognize (both for
whover writes it, and anyone who looks at it later).

Does anyone have (good) reasons not to do this? I think it'd help us
keep the code clean.

-- 
Timothy

Free (experimental) public monotone hosting: http://mtn-host.prjek.net





reply via email to

[Prev in Thread] Current Thread [Next in Thread]