Replies

This profile is from a federated server and may be incomplete. Browse more on the original instance.

khalidabuhakmeh, to random
@khalidabuhakmeh@mastodon.social avatar

🌶️ Hot Friday Take: should make Task transparent and let you async/await without it contaminating the entire codebase.

This would be a breaking change, but make it easier for folks coming from other languages. Maybe in .NET 37

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@filipw @KirillOsenkov I'm suggesting it's time to break from the past.

I'm still seeing folks struggling to move from Full Framework to .NET Core and it might be time to admit we have fragmentation. Maybe a few more versions, but as a community, should probably figure out when we should leave the past in the past.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@filipw @KirillOsenkov I actually had a weird thought today, "it's been a while since .NET got a new language built on the runtime."

Not sure if its related, but maybe a newish C# variant, or maybe I should just do more F# as I'm sure someone will comment soon. 😅

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@markmalstrom I'm not aware of Swift's construct. Is this it? https://github.com/belozierov/SwiftCoroutine

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@markmalstrom Then yes, it would be exactly like that. 😅

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@KirillOsenkov @filipw @patriksvensson @xoofx I didn't realize Patrik's was built on top of the runtime. Neat. I have also looked at Stark which is super cool.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar
khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@KirillOsenkov In a perfect world, you wouldn't see Task but tooling and the language would determine it for you.

If library authors need more fine grained controls, they can return Task or ValueTask or some other variation for optimizations.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@KirillOsenkov Yes, it's still technically a Task but having to methodically change signatures from int? to Task<int?> feels tedious, especially with the great tooling options available to devs. Especially since most folks will be adding the async keyword anyways. It's two changes when one would suffice.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar
khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@zpqrtbnk @filipw @KirillOsenkov there is the LangVersion flag in csproj.

khalidabuhakmeh, to random
@khalidabuhakmeh@mastodon.social avatar

apps, when starting up, should output the process Id into the console output. It would make it easier to find them and attach to process that way.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@paulczy PUT IT IN AN EXTENSION METHOD! 😅

khalidabuhakmeh, to random
@khalidabuhakmeh@mastodon.social avatar

🥱 Tired: AI-Powered Internet-connected devices
⚡️ Wired: Phones that can actually make calls

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@mrtrimble Prompt an AI to generate a prompt for another AI. IT'S PROMPTS ALL THE WAY DOWN BABY!

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@mrtrimble Oops, I just admitted I'm an AI. The jig is up.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@mrtrimble The Terminatoror of course!

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@mrtrimble More like John Cornered (by Terminators) am I right?

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