Bad words: “Refactoring”

December 21, 2014 at 3:10 PMMichele Mottini

Also “Code refactoring”. A verb used in programming, the official meaning is

the process of restructuring existing computer code without changing its external behavior

the actual meaning is

the process of restructuring existing computer code hopefully without changing its external behavior

I think the original meaning was quite specific, referring to thorough changes in the internal structure of code, but now it is used for any and all internal changes that are not meant to change functionality. For example, under ‘refactoring’ Microsoft Visual Studio lists trivial changes like renaming or reordering parameters:image

So when someone says ‘I refactored such and such’ it might mean more or less anything, including just changing some method names.

Posted in: Opinion | Programming

Tags: , ,

Bad words: “Leverage”

December 13, 2014 at 5:58 PMMichele Mottini

Used extensively in programming as a verb, it comes up 47 times in my current e-mail:

given that most of the services that leverage this today already have SomeService dependency

I suggest implementing a way to short circuit this loop and leverage it by overriding Cancel() in the derived sensor class

I imagine fairly soon in the future we'll want to leverage this for the SomethingApp as well

It means simply ‘use’ – that is even shorter. ‘Leverage’ implies (at least) some kind of multiplication, that does not means much when speaking about software modules or functions.  

…but of course it sounds better to use ‘leverage’: we just don’t randomly ‘use’ things here, we actually ‘leverage’ them.

See also Microspeak.

Posted in: Opinion | Programming

Tags: , ,