Skip to main content

Search

Items tagged with: softwareengineering


A part of #Rustlang that doesn't get mentioned but is a ridiculous quality of life boon:

dbg!()

Just #[derive(Debug)] on a struct and print it. Suddenly you get insight into what's going on. Very rarely do you need to write your own print.

Insert a dbg in the middle of anything

let diffi = debug!(diffs).iter();

and you get a message with line number and the name of variable:

[src/lib.rs:192:19] diffs = [16, 86, 11]

Not even #Python has that!

#coding #softwareengineering #programming


I have been on Twitter for 13 years but mostly read stuff. My recent tweets have mostly been about my papers or conferences, so I decided to join scholar.social. With this account, I want to give the # another go. I am happy to connect with scientists worldwide, especially in the areas of #, #, #, and related fields.