Testing good

727 points · 12 comments · view on lemmy.world

12 Comments

mrks@programming.dev · 35 pts · 3y

Coder: me. Tester: also me.

simple@lemmy.mywire.xyz · 31 pts · 3y (2 replies)

The code

package main

import "fmt"

func main() {
  fmt.Println("Hello World")
}
solidsnail@programming.dev · 9 pts · 3y (1 reply)

Where's the docstring?

simple@lemmy.mywire.xyz · 12 pts · 3y

Its self documenting code, just like the rest of my spaghetti code.

xoggy@programming.dev · 9 pts · 3y

Asked later that week to add a feature to the code, have to rewrite it all from scratch because it's spaghetti.

lig@social.fossware.space · 9 pts · 3y

This is tester

RandomLegend@lemmy.dbzer0.com · 8 pts · 3y

Superior look of superiority

rwb@programming.dev · 4 pts · 3y

zarro boogs found

DiamondDemon@programming.dev · 3 pts · 3y (2 replies)

HOW

Hazzia@discuss.tchncs.de · 6 pts · 3y
[ removed ]
firelizzard@programming.dev · 1 pts · 3y

Maybe three times in my career (10 years so far)

csm10495@sh.itjust.works · 1 pts · 3y

This was me.. then it hit and broke prod.