So the generic function's kind of like a traffic cup.
You should always use the generic function.
The generic function doesn't do anything.
La función genérica no hace nada.
That's all the generic function does.
Eso es todo la función genérica.
You'll know by the, by the way the generic function looks,
Lo sabrás por el, por cierto parece la función genérica,
So, what kinds of methods are out there for a given generic function?
Entonces, ¿qué tipo de métodos es por ahí para una determinada función genérica?
So hist is a generic function, if you call it on different types of data it will do slightly different things.
Tan histórico es una función genérica, si llama en los diferentes tipos de datos hará las cosas un poco diferentes.
What it will print out is it will return the name of the generic function that you created the method for.
Lo que imprime es volverá el nombre de la función genérica que creó el método para.
The name of the generic function as the first argument and then the name of the class as the second argument.
El nombre de la función genérica como la primer argumento y, a continuación, el nombre de la clase como segundo argumento.
The only thing that the generic function does is it, is it takes the data, figures out what class the data.
Lo único que la función genérica hace es, es toma los datos, determina qué clase de los datos.
Which takes the generic function as the first argument, and the signature, which
Que toma la función genérica como primer argumento y la firma, que
So, and the way the procedure works, and this is both for S three and S four is that the generic function checks the class of the object.
Así y la forma el procedimiento funciona y esto es tanto para S tres y cuatro es que la función genérica comprueba la clase del objeto.
If there is a method that's designed just for that class then the generic function will call that method on the objects and then the method will execute.
Si hay un método que está diseñado sólo para esa clase, a continuación, la función genérica se llame al método sobre los objetos y a continuación, se ejecutará el método.