V: Maybe fix the rand module just being notexistent

Created on 22 Jun 2019  路  5Comments  路  Source: vlang/v

Most helpful comment

And if you don't have common sense don't accept almost $1k a month.

All 5 comments

Pls fix @medvednikov before you make blatant claims about a glorious language.

And if you don't have common sense don't accept almost $1k a month.

What do you mean "notexistent"?

There are 2 functions seed() and next(). That's all I needed.

Alright.fn next(max int) int { # return rand() % max; return 0 }

Lets start here. A infinite amount of 0's doesnt have much entropy does it?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ArcDrake picture ArcDrake  路  3Comments

markgraydev picture markgraydev  路  3Comments

shouji-kazuo picture shouji-kazuo  路  3Comments

radare picture radare  路  3Comments

cjmxp picture cjmxp  路  3Comments