DEV Community

Discussion on: What is your favourite function()?

Collapse
 
bgadrian profile image
Adrian B.G.

random() functions, there is so much more behind them then we usually think. I can talk hours about entropy and sources, techniques, pseudo algorithms and how can it improve almost any software product.

Collapse
 
jjjjcccjjf profile image
ο½…ο½Žο½„ο½ο½Ž

Improve in what way?

Collapse
 
isaacleimgruber profile image
IsaacLeimgruber

In the way of randomized algorithms

Collapse
 
bgadrian profile image
Adrian B.G. • Edited

As in, some product features can be improved using random (shuffle or generate things), most basic example is chose new 5 news headlines to see from the top 100 articles to an user, each x seconds/page views.

Thread Thread
 
jjjjcccjjf profile image
ο½…ο½Žο½„ο½ο½Ž

inb4
p e r s o n a l i z a t i o n
🀣