jupiter,
@jupiter@mastodon.gamedev.place avatar

That moment when you get back into your project (as you're dogfooding it), and wonder how to extend it, and then see that you build an indexer that does EXACTLY what you needed.

public Entity this[int index] => new(_world, _identities[index]);

And it, even though it causes API bloat, makes a confusing API much more convenient downstream.

Worth it.

I was always on the fence about basically duplicating the API surface for all Queries, but it makes much sense.

Satisfying to use, too.

jupiter,
@jupiter@mastodon.gamedev.place avatar

Unfortunately, the overloading and inheritance around it melts XMLdoc.

Time to Copy-Paste....

jupiter,
@jupiter@mastodon.gamedev.place avatar

Aaand a refactor in another project silently broke a line of code in a devious way.

It made parts of the code invisible.

So 100% test coverage sucks when suddenly half of everything doesn't compile (doesn't even SEE the code you just wrote).

A refactor in the physics engine bled into fennecs and caused one specific querybuilder to return the base class.

Wow.

That took nearly 5 hours to diagnose.

ArneBab,
@ArneBab@rollenspiel.social avatar

@jupiter Ouch! I’m feeling with you …

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