Trunk-based Crusader(@schteppe) 's Twitter Profileg
Trunk-based Crusader

@schteppe

Senior software engineer @StarStable. C++, physics, Jelly Mario, p2.js, cannon.js

ID:23927374

calendar_today12-03-2009 10:05:41

7,1K Tweets

2,9K Followers

1,7K Following

Fear the Phantom (horror game)(@Phantom_TheGame) 's Twitter Profile Photo

Imagine people still using cube meshes with 12 tris in 2024 😂😂😂

Real people optimize their cubes to only have 6 tris 😎🔥

account_circle
Trunk-based Crusader(@schteppe) 's Twitter Profile Photo

If you got a code block with a name - why not go all the way and break it out into a named function? This would reduce code complexity.

account_circle
⛧ HANNAH CRAWFORD ⛧(@EMBYRDEV) 's Twitter Profile Photo

For the love of god just use an early return.

if (score >= 90) return 'A';
if (score >= 80) return 'B';
if (score >= 70) return 'C';
if (score >= 60) return 'D';
return 'F';

Stop overcomplicating it.

account_circle
Allen Holub @allenholub.bsky.social(@allenholub) 's Twitter Profile Photo

Instead of using a debugger, which will double your dev time, use TDD, which will half your dev time. Everything you do in the debugger is, in effect, an ad hoc test, so just write the test. TDD will also give you a nice set of runnable examples — live documentation.

account_circle
still chaotic-good(@TotherAlistair) 's Twitter Profile Photo

Agile elevator pitch (literally).

(exec enters elevator)

exec: what's agile?

me: early delivery of business value.

exec: what else?

me: reduced bureaucracy

exec: sounds good

(exits)

account_circle
Trunk-based Crusader(@schteppe) 's Twitter Profile Photo

Is it a Unit or Integration test?

Google’s test classification is different:

- Small test: single process
- Medium test: single machine
- Large test: multi machine

abseil.io/resources/swe-…

Is it a Unit or Integration test? Google’s test classification is different: - Small test: single process - Medium test: single machine - Large test: multi machine abseil.io/resources/swe-… #unittest #programming
account_circle
Rick(@rickasaurus) 's Twitter Profile Photo

The problem with Rust is you have to have suffered under your own large scale mistakes in C or C++ to appreciate it

account_circle
Trunk-based Crusader(@schteppe) 's Twitter Profile Photo

Back in the day, Google changed their unit testing policy so that all code changes were expected to have unit tests.

This reduced the number of 'emergency pushes' by half (!). Pretty cool!
abseil.io/resources/swe-…

Back in the day, Google changed their unit testing policy so that all code changes were expected to have unit tests. This reduced the number of 'emergency pushes' by half (!). Pretty cool! abseil.io/resources/swe-…
account_circle