john_fisherman, to philosophy
@john_fisherman@mastodon.social avatar

In which I explain why I decide to leave a stack of bills on the table every month.

https://fredrocha.net/2024/05/13/meaning-driven-development/

chriskrycho, to random
@chriskrycho@mastodon.social avatar

The slides and script for my second #lambdaconf2024 talk are up—this one on how we make good software. If that sounds like a massive question: yes.

The talk ranges from #DDD and #TDD and #typetheory to #systemsthinking and sociology and ethics—as it must!

https://v5.chriskrycho.com/elsewhere/seeing-like-a-programmer/

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

🔮 We’re doing a in the FUTURE today with Chris Simon. (Actually, he’s just in Australia, but he’s a full day ahead!)

👨‍🏫 He’ll teach us about , , and . Please come hang out in the chat. It's always so lively and fun.

👍 Boosts appreciated.

https://www.youtube.com/watch?v=gXz7gKtRVpM

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@davidwengier I gave your YouTube video a thumbs up, but we need to talk about this alignment strategy.

KirillOsenkov,
@KirillOsenkov@mastodon.social avatar

@khalidabuhakmeh @davidwengier yeah, don't do that...

khalidabuhakmeh, to CSharp
@khalidabuhakmeh@mastodon.social avatar

I’m hosting Chris Simon on a #JetBrains #livestream to discuss #TDD, #DDD, and #csharp. Not to be confused with D&D, which is about wizards, dragons, and dungeon masters… wait it's pretty similar.

#dotnet

https://www.youtube.com/live/gXz7gKtRVpM?si=Uc_kn-GzdEIvSR_p

jitterted,
@jitterted@sfba.social avatar

@khalidabuhakmeh Awesome!

If JetBrains ever wants someone to do a similar talk for Java and IntelliJ IDEA, let me know (I livestream doing exactly that 10+ hours a week). 😁

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@jitterted @maartenballiauw might be interested.

xunit, to dotnet
@xunit@dotnet.social avatar

We just shipped v2 Core Framework 2.8.0, Analyzers 1.13.0, and Visual Studio adapter 2.8.0. The primary purpose of this release is a new parallelism algorithm that should make test timing more reliable, and make thread deadlocks in your tests less likely.

Read all about the new algorithm here: https://xunit.net/docs/running-tests-in-parallel#algorithms

Enjoy!

Release notes:

https://xunit.net/releases/v2/2.8.0
https://xunit.net/releases/analyzers/1.13.0
https://xunit.net/releases/visualstudio/2.8.0

#dotnet #csharp #fsharp #unittest #tdd

Tallish_Tom, to random
@Tallish_Tom@fosstodon.org avatar

Asking any developers doiing with "classic" approach and using an approach.

Do you find the different approaches affect your low-level design?

@emilybache

thirstybear,
@thirstybear@agilodon.social avatar

@Tallish_Tom @emilybache Suspect you know my answer 🙂

I find that just using approval testing I end up with a very confused, poor code structure.

If I just use TDD (that's classic XUnit, yes?), the code structure is great but I don't always end up with what was asked for.

But for something where someone has a strong vision of the end game, using TDD with a smattering of key acceptance tests is Just Right.

It’s almost like there's a pattern… 😉

matadan, (edited ) to random
@matadan@mastodon.social avatar

One top misconception about #TDD is that you should refactor the tests as you go. This means that you can delete some too. It’s like building an arch and then knocking out the supporting structure. The supports helped along the way but are no longer needed. It’s not true that “the best code is the code that was never written”. It is true that the best code modification is to delete it. Tests ensure that nothing unexpected happens once you have deleted that code.
#programming

matadan, (edited ) to random
@matadan@mastodon.social avatar

There are some really great coders who don’t get #TDD and that’s OK but I wish they would not use that misunderstanding to just proclaim that it is useless. On the other hand we need to find a way to prove the usefulness without just saying that “you are holding it wrong”.
#programming

davesmith00000,
@davesmith00000@mastodon.gamedev.place avatar

@matadan I'm not disagreeing with you, truthfully, I just find the lack of nuance and empathy in the age old TDD debate frustrating.

TDD has great value in the right situation, as do other approaches.

matadan,
@matadan@mastodon.social avatar

@davesmith00000 I think I said that in the original tweet BTW. I’m also lamenting the holy war around TDD.

jitterted, to random
@jitterted@sfba.social avatar

On today's solo stream, I was doing my #TDD as usual, and, because I use Predictive Test-Driven Development (see https://ted.dev/articles/2021/03/05/clarifying-the-goal-of-behavior-change/), I was able to avoid writing code that wouldn't get the test to pass.

Why? Because 3 separate times, I predicted how the test should fail, and it failed differently! They failed in the unexpected way because I had either written the test setup incorrectly, or misunderstood a library method¹.

Had I just looked out for a failing test, I would have started writing code to make it pass, and been disappointed that it didn't pass when I was done.

--
¹ Turns out Java's String.indent(4) normalizes line endings, meaning it will add a line ending to the last line, even if it didn't have one before! Surprise!

bradwilson,
@bradwilson@mastodon.social avatar

@jitterted I have always thought the circle diagram for #TDD sent the wrong message to new practitioners. Refactoring should always start and end in green. If you refactor and things go red you’ve done something else other than refactoring.

xunit, to dotnet
@xunit@dotnet.social avatar

We just shipped v2 Core Framework 2.7.1, Analyzers 1.12.0, and Visual Studio adapter 2.5.8. This includes a few new assertion overloads, four new analyzers (and two new suppressors), and a handful of bug fixes.

Enjoy!

Release notes:

https://xunit.net/releases/v2/2.7.1
https://xunit.net/releases/analyzers/1.12.0
https://xunit.net/releases/visualstudio/2.5.8

maartenballiauw, to CSharp
@maartenballiauw@mastodon.online avatar
eldamir,
@eldamir@hachyderm.io avatar

@maartenballiauw just what I needed. Thank you for this ❤️

dominucco, to rails
@dominucco@mastodon.social avatar

RSpec is great, but I have a soft spot for #MiniTest. And let's be honest, it's a really great and valid choice for #Rails #tdd What do you think?

https://dominickm.com/1658-2/

jitterted, to random
@jitterted@sfba.social avatar

Hey #TDD Game fans!

If you were thinking of ordering your own copy of JitterTed's TDD Game, I recommend ordering soon, as I'm running low on inventory (and won't get more for another month or so).

Get your copy (or multiple copies—saves on shipping) today at https://tdd.cards

danielsiepmann, to programming

Today I could start #programming for a new project. I applied the learnings from @matthiasnoback workshop regarding #software architecture.

And well … It works good so far. And so many more things now make sense and work, e.g. TDD. I thought TDD doesn't make sense, except for some cases. But now with a different point of view to how to create and structure software … it now works. I could develop the current project fully #TDD.

I can highly recommend his workshops :)

nekohayo, to GNOME
@nekohayo@mastodon.social avatar

I hate . I hate it so much. The week where changes occur lets me find the weirdest of higgs-bugson and mandelbugs in while doing .

At least the majority of those issues have already been durably fixed for 46 by @danigm's fantastic (unit-tests-backed) bufixes 😌

Today's new discovery: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1198

GNOME Calendar's week view, showing a bug where dragging and dropping events in the hourly timetable to reschedule them will cause them to be offset by one hour from the intended position, during the week where DST changes occur.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • khanakhh
  • mdbf
  • InstantRegret
  • Durango
  • Youngstown
  • rosin
  • slotface
  • thenastyranch
  • osvaldo12
  • ngwrru68w68
  • kavyap
  • cisconetworking
  • DreamBathrooms
  • megavids
  • magazineikmin
  • cubers
  • vwfavf
  • modclub
  • everett
  • ethstaker
  • normalnudes
  • tacticalgear
  • tester
  • provamag3
  • GTA5RPClips
  • Leos
  • JUstTest
  • All magazines