mangoiv, (edited )
@mangoiv@functional.cafe avatar

Is it just me or is this whole thing about „don’t do X if you don’t really know what you’re doing“ really counter productive? Many people live in fear of X now and don’t start thinking if X is an actual problem or learn what the problems are that could rise from X.

I see this very often in the ecosystem where the solution to doing X properly is often learnt in a few minutes investigation.

jaror,
jaror avatar

@mangoiv I know I've said that a few times. Two examples I can think of:

  • AllowAmbiguousTypes, GHC suggests this but you should probably just use Proxy arguments instead.
  • Typeable, people coming from OOP languages often want a typeof function, but 99% of the time there is a better way to structure your programs using simple ADTs.

I still think these are not learnt in a few minutes. Even if that was the case, the most important thing you should learn is that you shouldn't use them very often.

mangoiv,
@mangoiv@functional.cafe avatar

@jaror then perhaps it’d be nicer to tell them that, I think that’d be much nicer. I think there’s nuance to it.

fargate,
@fargate@functional.cafe avatar

@mangoiv What comes to mind is that they might be overeagerly trying to avoid the XY problem from happening https://xyproblem.info/

Yet given I haven't asked around much I don't have too much personal experience on that front, I just want to assume people have some non-elitism reason for it. Then again I might also be misunderstanding the problem case here.

mangoiv,
@mangoiv@functional.cafe avatar

@fargate no I think elitism is actually a good explanation. That’s certainly a problem in the Haskell community.

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