jm + naming   6

Sean O'Dowd on Twitter: "damn someone at apple needs a hug"
stack trace leads with a symbol called "_thereIsNoSadnessLikeTheDeathOfOptimism"
stack-traces  apple  funny  lol  optimism  naming 
october 2016 by jm
A Guide to Naming Variables
good rules of thumb for variable naming, from ex-coworker Jacob Gabrielson
guidelines  rules  naming  variables  coding  style 
april 2016 by jm
Testing@LMAX – Aliases
Creating a user with our DSL looks like: registrationAPI.createUser("user");

You might expect this to create a user with the username ‘user’, but then we’d get conflicts between every test that wanted to call their user ‘user’ which would prevent tests from running safely against the same deployment of the exchange.

Instead, ‘user’ is just an alias that is only meaningful while this one test is running. The DSL creates a unique username that it uses when talking to the actual system. Typically this is done by adding a postfix so the real username is still reasonably understandable e.g. user-fhoai42lfkf.


Nice approach -- makes sense.
testing  lmax  system-tests  naming  coding 
june 2015 by jm
How to Name a Baby
some good data (and graphs) on baby names (via Ruth)
via:ruth  babies  naming  graphs  dataviz  data  usa  names 
january 2014 by jm
TestDouble
Test Double is a generic term for any case where you replace a production object for testing purposes. There are various kinds of double that Gerard lists:

Dummy objects are passed around but never actually used. Usually they are just used to fill parameter lists.
Fake objects actually have working implementations, but usually take some shortcut which makes them not suitable for production (an InMemoryTestDatabase is a good example).
Stubs provide canned answers to calls made during the test, usually not responding at all to anything outside what's programmed in for the test.
Spies are stubs that also record some information based on how they were called. One form of this might be an email service that records how many messages it was sent.
Mocks are pre-programmed with expectations which form a specification of the calls they are expected to receive. They can throw an exception if they receive a call they don't expect and are checked during verification to ensure they got all the calls they were expecting.
test-doubles  naming  patterns  tdd  testing  mocking  tests  martin-fowler 
april 2013 by jm
The Walton Bridge petition
'IOP Ireland is campaigning to have the new bridge across the Liffey in Dublin at Marlborough Street named for ETS Walton – Ireland’s only physics Nobel prizewinner.'
nobel  physics  science  ireland  ernest-walton  scientists  history  naming  dublin  tcd 
may 2012 by jm

Copy this bookmark:



description:


tags: