👾 (@ashmind) profile picture

I develop. He/him. https://nitter.cf/t.co/B6aUFMxdSu

New Zealand
Joined December 2007
This works for method visits as well, e.g. here is a method that gets called two times. You can see what called it that time, and what return value was produced for that specific call.
5
Recently I was thinking about "time-travel" alternatives to traditional debugging for SharpLab's continuous Run. Here's one outcome. SharpLab used to dump all loop values at once, but that wasn't too useful. Now you can select a specific iteration and see values and flow within.
2
2
24
Replying to @davidfowl
Yep hoping it evolves, last proposal I saw were sizes only: docs.google.com/document/d/1…
Yes of course. The slide is a bit tongue-in-cheek (full below). But also there a are complexity costs, developer time costs, maintenance costs. Often developers are enthusiastic for code improvement way before they collect enough experience to carefully evaluate those.
1
3
Replying to @marcgravell
Me, a few days ago, doing a random knowledge sharing on zero-allocation programming in a reasonable company that makes web applications:
2
4
Replying to @phillijw
Do you mean like this (see gif)? You can click the error if it has a bulb icon, or press Ctrl+. to open that menu.
1
1
I was curious if you can achieve something like npm scripts (arbitrary commands) with dotnet run -- and you can! Only thing needed is this small csproj in top solution folder: gist.github.com/ashmind/dd2d… (This is a proof-of-concept, not fully cross-platform, not polished at all)
1
8
I did consider it, I wish I could actually do it though😂
2
1
4
Tired of using SharpLab to decompile C# to IL? No problem! Thanks to great work by @konradkokosa and @vivekmapara you can now decompile IL to to C# instead. sharplab.io/#v2:DYLglsA+ACBs…
1
15
104
I was interested in trying out source generators, so I built this prototype source-generator-based mocking framework: github.com/ashmind/SourceMoc… I like how symmetrical Setup/Calls end up being. Note that all parameters are optional, thanks to source generators.
2
1
1
18
Replying to @davidfowl
Me - since 2014 it seems :)
1
With some imagination, performance-sensitive code is always within our reach.
1
3
UI design is very challenging for me, but in the end I am quite happy with this SharpLab mobile UI improvement — more useful space, less UI clutter.
1
20