lua-users home
lua-l archive

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


Luiz Henrique de Figueiredo wrote:
> All feedback welcome. Thanks.

Yes, I'd like to *vehemently* protest about the included
abomination of a bit library!

It's INCOMPATIBLE to *all* other bit libraries out there! And it
has nonsensical system-dependent semantics, esp. wrt. the number
type. How on earth should one write portable code that way?

Do you really want to repeat the learning curve that the lbitlib
author and myself as the author of Lua BitOp had to go through?
Have you read the lengthy page on portable bit operations
semantics I wrote?

I cannot understand what stops you from just dropping in the
latest Lua BitOp and *be done*.

[
I strongly suggest to read "Hints on programming language design",
by C.A.R. Hoare from 1973 (!):

ftp://reports.stanford.edu/pub/cstr/reports/cs/tr/73/403/CS-TR-73-403.pdf

Especially chapter 12 (2) about "The language designer [...]":
  "One thing he should not do is to include untried ideas of his own.
  His task is consolidation, not innovation."
]

--Mike