I do not find the Linux yes command useless. Combined in a piped command can be usefull.

$ yes
y
y
y^C
It can be used for tasks that need confirmation:
$ yes | sudo apt-get install skype
Do you want to continue [Y/n]? WARNING: The following packages cannot be authenticated!
So, my installation continues without waiting for my yes.