Why would you write code to generate code?
@jasonbock talks on .NET Rocks at https://www.dotnetrocks.com/details/1988 about his experiences using modern .NET source generators to optimize certain aspects of applications!
Living in reality. Writing code. Playing music. Husband + father. Staff Software Engineer at Rocket Mortgage (opinions are my own). Author of books. Speaker. Cyclist. And more!
Why would you write code to generate code?
@jasonbock talks on .NET Rocks at https://www.dotnetrocks.com/details/1988 about his experiences using modern .NET source generators to optimize certain aspects of applications!
@robrich @csharpfritz The idea may have value, but....I wouldn't use the SGs as they are (and I contributed to this :) ). They're not incremental, so to really make this a viable implementation, it needs to be using FAWMN.
.NET question. Any recommendations on charting packages I can use in Avalonia? I've found these, opinions on them, or others I should try?
* ScottPlot.NET - https://scottplot.net/quickstart/avalonia/
* LiveCharts - https://livecharts.dev/
* OxyPlot - https://oxyplot.github.io/
Episode 574 of FreeCodeSession is live!
Episode 573 of FreeCodeSession is live!
Episode 572 of FreeCodeSession is live!
Episode 570 of FreeCodeSession is live! In this video, I talk about a new feature in C# 13: anti-constraints.
@fahrni Just read that the Dump didn't really gain any voters, but Dems were 15 MILLION short from 2020.
Fucking hell.
@fahrni I would love for it to happen, but the chances now are about as much as a Harris win was this time around.
@KirillOsenkov if I remember, I'll do it tomorrow morning 🙂
@KirillOsenkov just F5 in VS.
@KirillOsenkov it's my Rocks repo:
https://github.com/JasonBock/Rocks
Specifically the 342 branch. Run the code generation test app, put a breakpoint at line 145 in TestGenerator.cs.
@KirillOsenkov This? Because it wasn't check, I checked it, and it didn't help. (Note that other locals are showing up just fine).
@KirillOsenkov Nope. Even if I typed it into the Watch list, it would give me the same error.
Go home, Visual Studio, you're drunk.
(To be clear, I'm in the debugger, I've clearly evaluated code such that "code" should have a value, and ... yeah, VS says it doesn't exist.)
VS 2022 17.12.0 Preview 5
About to go live with a Random.Code() stream, building a new feature in Rocks!
@davidgiard sounds like quitter talk to me
@TimPurdum Or....they may be really happy with your new discovery :).
Seriously, I get it. But if you use Rocks in the future, let me know what you think, what works, what doesn't, etc.