DEV Community

Discussion on: What is your favourite function()?

Collapse
 
jjjjcccjjf profile image
endan

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
endan

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