Fiddlesticks! I’d have immediate use for both of those things, that’s why I 
suggested them.

Also, the first suggestion is probably actually less typing than not doing it 
that way. You’re basically writing ‘template <typename T>’ at the front, where 
you lose some characters, but then you make it up every time you type ’T’ 
instead of ‘uint32_t’ or whatever you’d have used otherwise. =)

- Seth

> On Jan 27, 2015, at 11:47 PM, Kyle Huey <m...@kylehuey.com> wrote:
> 
> On Wed, Jan 28, 2015 at 1:18 PM, Seth Fowler <s...@mozilla.com 
> <mailto:s...@mozilla.com>> wrote:
> Sounds good! +1 from me.
> 
> Bike shedding:
> 
> - Make Range() and ReverseRange() templates, so you can use them with any 
> type that supports the appropriate operators. This also implies removing 
> ‘Integer’ from their names, I think.
> 
> - It’d be nice to add a constructor that supports specifying both the 
> beginning and the end points, and another constructor that further supports 
> specifying a stride.
> 
> YAGNI*.  Someone can implement those once they need them.
> 
> - Kyle
> 
> * "You aren't gonna need it" 

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to