dev_null@lemmy.mltoFediverse@lemmy.world•Why Does Bluesky Use an Algorithm If It's DecentralizedEnglish
1·
3 days ago“Show all posts from newest to oldest” is an algorithm.
“Shows random 10 posts, unordered” is an algorithm.
It’s not possible to show a list of items without an algorithm. You may of course take issue with what the algorithm is, but you can’t not have one.
It’s a shorthand for writing this:
variable = if (input != null) input else default
This is equivalent:
variable = input ?: default