Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
After about 10 years, I had to break up with RVM – mostly because a third party (Claude Code) wouldn’t cooperate.
-
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/…
-
Is this a good module or not?
-
First – realize what constitutes good tests.
-
This is the most important, yet the most unspoken trait of good tests.
-
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)) {
-
If you “automate everything” you end up with cargo-cult of your process.
-
We often design our code so that one procedure comprises many classes, often grouped by layers.
-
Test first?
-
There it is. 5th and the last theme.