Timeline for What's the difference between a function and a method?
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 29, 2016 at 12:27 | comment | added | Laiv | I'm in agreement with you. Both are the same thing. So to his question I was wondering if someone could show me an example of a function and a method you say both are the same thing and I say There're no 2 things to be compared. Just methods (again, in terms of Java language). We are saying the very same from different points of view. May be I'm not capable to explain it as well as I would like | |
| Apr 29, 2016 at 12:14 | comment | added | Pieter B | @Laiv I'm not talking about levels of abstraction, just saying that methods and functions are the same thing by another name, one is not an abstraction of the other. | |
| Apr 29, 2016 at 12:08 | comment | added | Laiv | I think Andrew's question was not pointing to so "low" level. I think he was asking in terms of Java. In terms of Java's block code. As we know Java is a High-level programming language what means (among many other things) an strong abstraction from the details of the computer (those you are mentioning). My answer was focusing in such "abstraction". The abstraction that Java does, where functions as he's thinking (in comparission with methods) doesn't exist. Of course under all Java's abstraction there's only logic operations, 1 and 0. But it was not the question :-) | |
| Apr 29, 2016 at 9:02 | history | edited | Pieter B | CC BY-SA 3.0 | added 14 characters in body |
| Apr 29, 2016 at 8:49 | history | answered | Pieter B | CC BY-SA 3.0 |