Hi Andrea,

On Mon, Jan 12, 2015 at 10:06 AM, Andrea Faulds <a...@ajf.me> wrote:

> > On 12 Jan 2015, at 00:55, Yasuo Ohgaki <yohg...@ohgaki.net> wrote:
> >
> > It works, but I prefer to have procedural API also (and OO API if it is
> needed.)
> > I like multi paradigm programming language.
>
> I don’t see the point of a “procedural API” here, it’d just be a set of
> thin wrappers around the OOP API.
>
> Multi-paradigm means actually providing different approaches. Every time
> PHP has had both a “procedural” and “OOP” API so far, it’s been nothing of
> the sort, the “procedural” API has been the OOP one in disguise. There is
> zero functional difference between $foo->bar($baz, $qux); and foo_bar($foo,
> $baz, $qux); and we should stop pretending there is one.
>
> Are people seriously scared off by the syntax of “OOP” APIs or something?
> I just don’t get it. Surely it is not hard to explain that mysql_query and
> $mysqli->query are exactly the same thing?!
>

I just would like to make sure that there is both.
We are better off with both OO and procedural API like Python, IMO.


>
> > BTW, difference between 32bit and 64bit platforms would not be a problem
> > as long as it is documented.
>
> It’s not necessarily a “problem”, but I don’t see why 64-bit integers
> shouldn’t be properly supported on 64-bit systems.


Nice idea.
Let's have 64 bit random in 32 bit systems. (i.e. same seed = same sequence
as long as
mix/max fits in range)

Regards,

--
Yasuo Ohgaki
yohg...@ohgaki.net

Reply via email to