owen (pumpkin spice aspect) on Nostr: code metrics thinkers: what is the cyclomatic complexity of a virtual function call ...
code metrics thinkers: what is the cyclomatic complexity of a virtual function call (one where the actual function dispatched depends on the value of one of the arguments; traditionally, the first one)?
for example, what is the cyclomatic complexity of `this.some_method()`, where some_method may be overridden in subclasses?
Published at
2024-05-21 19:40:50Event JSON
{
"id": "b3b6352fc8f4b8aeeb7a82510b3d0b5b766b2977733be78f1b47830d535cb9de",
"pubkey": "7e1f3bd7b02800f933c73a852021347e129894ac71afba61afa750151e4023c3",
"created_at": 1716320450,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.transneptune.net/users/owen/statuses/112480777055059685",
"activitypub"
]
],
"content": "code metrics thinkers: what is the cyclomatic complexity of a virtual function call (one where the actual function dispatched depends on the value of one of the arguments; traditionally, the first one)?\n\nfor example, what is the cyclomatic complexity of `this.some_method()`, where some_method may be overridden in subclasses?",
"sig": "9c253a40b8e601b8c763507152947318163240db07a102343cfdc4ee7611b90aa63f359c554aca5b593c4989992bf6666c56629ec06a3b728fdccc702454f123"
}