News for hackers. Stuff that matters.
Re:Visual programming should start in the debugger by randomdata on Friday July 19, 2024 @07:19PM (#41012459)
Well now you have us curious: What programming language treats methods as something other than what is ultimately a function with an additional implied parameter? Whether a parameter is implicit or explicit doesn't really change anything with respect to the state of the program. You need to construct the state either way.
Re:Visual programming should start in the debugger by sroussey on Friday July 19, 2024 @07:29PM (#41012541)
Indeed, in JS you can call the method with the object explicitly (which allows you to call one objects method with a different object—for better or worse, though usually some meta-programming).