brodriguesco,
@brodriguesco@fosstodon.org avatar

"Don't repeat yourself by writing functions, but not loops, repeat yourself when it comes to loops, don't use map and reduce that's just silly" why are programmers like this?

jrosell,
@jrosell@mastodon.social avatar

@brodriguesco Let me guess.

Not being able to easy chain operations in std python and knowing that lambda must be oneliner...

Not an R or Rust programmer.

rabaath,

@jrosell @brodriguesco This! I reach for list comprehension, not because it’s great, but because non-chaining map, filter, and reduce (that is a separate import!) with one-liner lambdas only, is worse!

jrosell,
@jrosell@mastodon.social avatar

@rabaath @brodriguesco BTW, ChatGPT says...

jrosell,
@jrosell@mastodon.social avatar

@rabaath @brodriguesco BTW, ibis is quite cool as you get used to "s." and "_."
https://ibis-project.org/tutorials/ibis-for-dplyr-users

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