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

vtereshkov picture vtereshkov  路  3Comments

arg2das picture arg2das  路  3Comments

aurora picture aurora  路  3Comments

radare picture radare  路  3Comments

lobotony picture lobotony  路  3Comments