← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 10
  1. After about 10 years, I had to break up with RVM – mostly because a third party (Claude Code) wouldn’t cooperate.

  2. So, I had this ongoing issue with bundler: Errno::ECONNRESET: Connection reset by peer - SSL_connect (...)/.rbenv/versions/3.4.1/lib/ruby/gems/3.4.0/gems/net-protocol-0.2.2/lib/net/protocol.rb:46:in 'OpenSSL::SSL::SSLSocket#connect_nonblock' (...)/.rbenv/…

  3. Bad modules, good modules

    Is this a good module or not?

  4. How to write tests

    First – realize what constitutes good tests.

  5. Tests should give confidence

    This is the most important, yet the most unspoken trait of good tests.

  6. Consider a method that calculates some ETA: class Calendar { add3WorkingDays(): Date { const result = new Date(); let daysAdded = 0; while (daysAdded < 3) { result.setDate(result.getDate() + 1); if (this.isWorkingDay(result)) {

  7. If you “automate everything” you end up with cargo-cult of your process.

  8. We often design our code so that one procedure comprises many classes, often grouped by layers.

  9. Making sense is overrated

    Test first?

  10. There it is. 5th and the last theme.