Top "Built-in" questions

Built-in functions, modules and classes are standard parts of a programming language or framework.

What's "better" the reverse method or the reversed built-in function?

What is typically regarded as more Pythonic/better/faster to use, the reverse method or the reversed built-in function? Both …

python list methods reverse built-in
What is the difference between a language construct and a "built-in" function in PHP?

I know that include, isset, require, print, echo, and some others are not functions but language constructs. Some of these …

php function built-in language-construct
Ruby array each_slice_with_index?

If I have arr = [1, 2, 3, 4] I know I can do the following... > arr.each_slice(2) { |a, b| puts "#{a}, #{b}" } 1, 2 3, 4 ...…

ruby iteration built-in
Override the {...} notation so i get an OrderedDict() instead of a dict()?

Update: dicts retaining insertion order is guaranteed for Python 3.7+ I want to use a .py file like a config file. …

python dictionary overriding built-in ordereddictionary
How to assign the result of the previous expression to a variable?

Suppose I'm using R's interactive console, and I've just done something like this: long_running_command() That long-running command returns …

r return-value interactive built-in
What does "< <(command args)" mean in the shell?

When looping recursively through folders with files containing spaces the shell script I use is of this form, copied from …

bash shell built-in
How to override built-in PHP function(s)?

I would like to override, let's say mysql_num_rows with let's say following: $dataset = array(array('id' => 1, 'name' =&…

php built-in overriding
What's the difference between identical(x, y) and isTRUE(all.equal(x, y))?

Is there any difference between testing isTRUE(all.equal(x, y)) and identical(x, y)? The help page says: Don't …

r comparison equality built-in floating-point-comparison
What is Python's coerce() used for?

What are common uses for Python's built-in coerce function? I can see applying it if I do not know the …

python type-conversion python-2.x built-in
When __builtin_memcpy is replaced with libc's memcpy

There is a version of C99/posix memcpy function in GCC: __builtin_memcpy. Sometimes it can be replaced by GCC …

gcc c99 memcpy built-in