@jamesshore@mastodon.online avatar

jamesshore

@jamesshore@mastodon.online

Agile guy. Consultant, practitioner, author of The Art of Agile Development.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

testobsessed, to random
@testobsessed@ruby.social avatar

Major refactoring on the javascript side of my app: 7 files deleted containing 280 largely redundant lines of code. Dang that feels good.

jamesshore,
@jamesshore@mastodon.online avatar

@testobsessed That’s just the best feeling. I love deleting code.

jamesshore, to random
@jamesshore@mastodon.online avatar

Nullables are a novel approach to testing that allow you to create fast, reliable tests without using mocks (or interfaces). They're a way of "turning off" production code so you can have sociable, state-based tests that don't talk to the outside world.

I'm hosting office hours on May 10th at 9am Pacific / 12pm Eastern / 18:00 CEST for anybody who'd like to discuss these ideas. Bring your code! Details and a calendar reminder are available here: https://www.jamesshore.com/v2/calendar/2023-05-10

jamesshore, to random
@jamesshore@mastodon.online avatar

There seems to be a generation of programmers who believe interfaces (as in “interface MyInterface”) creates decoupling, so have an interface for every class is a good thing. I can’t agree. Code is decoupled when a change HERE doesn’t require a change THERE. An interface with one implementation does little to help, in most cases, and adds a lot of noise. If you think sprinkling interfaces everywhere magically makes code “decoupled,” you almost certainly have REAL coupling issues you’re ignoring.

jamesshore, to random
@jamesshore@mastodon.online avatar

Here’s a crazy idea: instead of story points, let’s make them after fruit. Story pears, story kiwis, story grapes. Then, when a manager complains one team has a bigger number than another: “Sorry, you can’t compare apples and oranges.”

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • Durango
  • everett
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • GTA5RPClips
  • ngwrru68w68
  • osvaldo12
  • megavids
  • InstantRegret
  • cubers
  • modclub
  • ethstaker
  • tacticalgear
  • khanakhh
  • tester
  • cisconetworking
  • Leos
  • provamag3
  • normalnudes
  • anitta
  • lostlight
  • All magazines