Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
 hono4kami   ( @hono4kami@piefed.social )  to Programming@programming.devEnglish · 1 year ago

Greppability is an underrated code metric

morizbuesing.com

external-link
message-square
24
link
fedilink
89
external-link

Greppability is an underrated code metric

morizbuesing.com

 hono4kami   ( @hono4kami@piefed.social )  to Programming@programming.devEnglish · 1 year ago
message-square
24
link
fedilink
Keeping your codebase searchable will make your maintenance life easier in the long run
  •  thingsiplay   ( @thingsiplay@beehaw.org ) 
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    The dash - vs underscore _ is also a common “problem” with CLI arguments --file-name, that are mapped to variable names file_name.

    •  esa   ( @syklemil@discuss.tchncs.de ) 
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Yeah, translating between cases isn’t exactly a problem IME. Might be neat to have a case-aware grep though, so you can get kebab-case, snake_case, camelCase and PascalCase all done in one go.

Programming@programming.dev

programming@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@programming.dev

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 81 users / day
  • 803 users / week
  • 1.19K users / month
  • 3.72K users / 6 months
  • 445 local subscribers
  • 23.7K subscribers
  • 2.05K Posts
  • 17.4K Comments
  • Modlog
  • mods:
  •  snowe   ( @snowe@programming.dev ) 
  •  Ategon   ( @Ategon@programming.dev ) 
  •  MaungaHikoi   ( @MaungaHikoi@lemmy.nz ) 
  •  UlrikHD   ( @UlrikHD@programming.dev ) 
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code