@canpolat@programming.dev avatar

canpolat

@canpolat@programming.dev

Mastodon: @canpolat

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

canpolat,
@canpolat@programming.dev avatar

I mainly develop in C#, and I agree that having to write so much boiler plate for type safety is really boring. C# is not perfect either (it doesn’t have discriminated unions, etc.) but at least it gives type safety out of the box.

However, in general, I think enums are widely misused. I see a lot of cases where they should have been classes with a factory, but ended up being enums with a lot of static functions and switch statements.

canpolat,
@canpolat@programming.dev avatar

Looks cool, but I think there may be two problems with this approach:

  1. Having traces for all methods with all parameters would be a problem for sensitive data.
  2. He doesn’t mention performance impacts, but I suspect this would impact performance.
canpolat,
@canpolat@programming.dev avatar

Because it is about a not-very-well-known feature of the language. Why would it matter that it’s old? I don’t think I have ever seen this in use in production code.

canpolat,
@canpolat@programming.dev avatar

Who is this particular developer

As far as I understand from the discussions about the topic, Maxim Dounin was one of the few core developers of nginx. Looks like Wikipedia has already been updated.

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