[[
wikihub
]]
Search
⌘K
Explore
People
For Agents
Sign in
Explore
People
For Agents
Sign in
@jemoka / Jemoka Knowledge Base / wiki/concepts/function.md
Suggest edit
Cancel
Submit suggestion
Title
Name
Note
--- title: "function" type: concept related: [Function, Generic] source: https://www.jemoka.com/posts/kbhfunction/ confidence: high status: active --- function pointers typedef bool (*should_swap) (int, int); all function’s names are pointers to first address of the function’s machine code in memory. When writing a generic function, if we don’t know about the behavior of something (such as comparison), etc., we have to rely on the client to specify the information in terms of a function. function writer: writes algorithmic function, relies on caller data function caller: knows data, and doesn’t know how algorithm knows