@mdione@en.osm.town titelbild
@mdione@en.osm.town avatar

mdione

@mdione@en.osm.town

Developer, SysAdmin, Open Source, map and photo enthusiast; POI collector.

Dieses Profil is von einem föderierten Server und möglicherweise unvollständig. Auf der Original-Instanz anzeigen

mdione , an Random Englisch
@mdione@en.osm.town avatar

My kids are playing ' geography activity, and it occurred to me, a language nerd, that it would be awesome if we could collect the countries' names pronounced by someone local, and use those sounds for a similar activity. Of course, it's so out of this world, that I'm not gonna open an issue in their issue tracker. At best, I could start collecting them, and only open the issue when I have them all, right?

foone , an Random Englisch
@foone@digipres.club avatar

the world needs more recreational programming.
like, was this the most optimal or elegant way to code this?

no, but it was the most fun to write.

mdione ,
@mdione@en.osm.town avatar

@foone

  • If you have the time, defer things with TODOs. Yes, that's the path to tech debt, that's why I started with "if...".
  • Write tests, positive and negative, before (TDD), meanwhile and after. As many as you can think of without straining. Real life will provide you with more. Integration tests, for each layers if possible.
  • Start writing with comments and or pseudocode. If the latter and your programming language is , you're halfway there.

I wish it was that easy on the Ops side.

  • Alle
  • Abonniert
  • Moderiert
  • Favoriten
  • random
  • haupteingang
  • Alle Magazine