Programming Tips 💡
51.6K subscribers
67 photos
10 videos
30 files
354 links
Programming & AI:
Tips 💡
Articles 📕
Resources 👾
Design Patterns 💎
Software Principles

🇳🇱 Contact: @MoienTajik

🎯 Buy ads: https://telega.io/c/ProgrammingTip
Download Telegram
Rubber Duck Debugging 🐤

In software engineering, rubber duck debugging or rubber ducking is a method of debugging code. 🐞

The name is a reference to a story in the book The Pragmatic Programmer in which a programmer would carry around a rubber duck and debug their code by forcing themselves to explain it, line-by-line, to the duck. 🗣

Many other terms exist for this technique, often involving different inanimate objects.

Many programmers have had the experience of explaining a programming problem to someone else, possibly even to someone who knows nothing about programming, and then hitting upon the solution in the process of explaining the problem. 👥

In describing what the code is supposed to do and observing what it actually does, any incongruity between these two becomes apparent. ↔️

More generally, teaching a subject forces its evaluation from different perspectives and can provide a deeper understanding. 👨🏻‍🏫

By using an inanimate object, the programmer can try to accomplish this without having to interrupt anyone else. 🙅🏻‍♂️


#Debugging #Tips
@ProgrammingTip
Source Link 🐞

Source Link is a language- and source-control agnostic system for providing first-class source debugging experiences for binaries.

The goal of the project is to enable anyone building NuGet libraries to provide source debugging for their users with almost no effort.

Microsoft libraries, such as .NET Core and Roslyn have enabled Source Link.

Source Link
is supported by Microsoft.

〰️〰️〰️〰️〰️〰️
#DotNet #CSharp #Debugging
@ProgrammingTip