khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar
flq,
@flq@freiburg.social avatar

@khalidabuhakmeh explicit implicit operators are fine, but I’ve gathered some bruises around the implicit one along the way.

vekzdran,

@khalidabuhakmeh id go verbosity++ as default but… one can always build a static analyzer to suggest this or force editorconfig ie. dotnet format

nick_tune,
@nick_tune@hachyderm.io avatar

@khalidabuhakmeh get rid of all the types and replace with dynamic.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@nick_tune what is this?! Python!

nick_tune,
@nick_tune@hachyderm.io avatar

@khalidabuhakmeh no, it’s how .NET thought leaders wrote code.

Check out this blog: https://blog.jonathanchannon.com

He’s been talking about it for years

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@nick_tune I don’t know if I can trust someone that center-aligns their lists. Actually, I'm considering calling the police. @jchannon

nick_tune,
@nick_tune@hachyderm.io avatar
jchannon,
@jchannon@hachyderm.io avatar

@nick_tune @khalidabuhakmeh I’ve been hacked!!!

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar
joestead,

@khalidabuhakmeh @jchannon @nick_tune MDN is a great tool. You should use it more @jchannon

nick_tune,
@nick_tune@hachyderm.io avatar

@khalidabuhakmeh @jchannon does this HTML thing have the dynamic keyword?

flq,
@flq@freiburg.social avatar
ap0llo,

@khalidabuhakmeh I guess an extension method would suffice?
Calling the extension wouldn't be more verbose than doing an explicit cast

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@ap0llo But where’s the fun in that?! (You’re right though 😅)

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