joyent/node — Issue #1976: os.getNetworkInterfaces inconsistently named
Author: isaacs
Created: 2011-10-31 15:09:02+00:00
State: open
Labels: os

One of these things is not like the others:

> os = require("os")
{ hostname: [Function],
loadavg: [Function],
uptime: [Function],
freemem: [Function],
totalmem: [Function],
cpus: [Function],
type: [Function],
release: [Function],
getNetworkInterfaces: [Function],
arch: [Function],
platform: [Function] }

Recommend: rename getNetworkInterfaces to `networkInterfaces`.

Less recommended, but still better: rename all the others to getWhatever.