LOOP program only need inc and zero
I have 4 different commands in LOOP programming language:
CoffeeScript and Named Functions
Elsewhere, an argument has arisen over the terminology of a named function in CoffeeScript. In particular someone referred to something like this:
In C++ why and how are virtual functions slower?
Can anyone explain in detail, how exactly the virtual table works and what pointers are associated when virtual functions are called.
Is it OK to split long functions and methods into smaller ones even though they won’t be called by anything else? [duplicate]
This question already has answers here: One-line functions that are called only once (12 answers) Should I extract specific functionality into a function and why? (6 answers) Closed 11 years ago. Lately I’ve been trying to split long methods into several short ones. For example: I have a process_url() function which splits URLs into components […]
Programming by Intention, Depth-First or Breadth-First?
Say I have the following graph of dependencies between procedures/functions/methods:
Documenting Function That Takes Random Parameters?
What’s the best approach to creating documentation (displaying the function prototype if you will) for functions that take a variety of different forms in terms of parameters.
Boolean Method Naming Affirmative vs Negative
Should boolean methods always take the affirmative form, even when they will only ever be used in the negative form?
PHP function types
I am trying to find a way of classifying different types of PHP functions. For example that fopen, fwrite, fclose and so on are all part of IO, and the MySQL functions and MySQLi class is all for mysql related things but something more automatic was wondering if there is some sort of function class mapping in PHP
Show all definitions in Scheme?
I want to see all user-made definitions in a Scheme REPL, both loaded from files and entered at the REPL. Is there any way to “dump all definitions”?
Naming functions that retrieve a value
I have this personal rule to start all function/method names with a verb. My verb of choice for functions or methods that get a value based on some data structure or object is get. I’m wondering if that’s a good idea.