lemmy.az.social
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
sunshine@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 day ago

I'm new to using Ruby and this tickled me pink

lemmy.ml

message-square
79
link
fedilink
  • cross-posted to:
  • programmer_humor@programming.dev
243

I'm new to using Ruby and this tickled me pink

lemmy.ml

sunshine@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 day ago
message-square
79
link
fedilink
  • cross-posted to:
  • programmer_humor@programming.dev
  • Oriel Jutty :hhHHHAAAH:@infosec.exchange
    link
    fedilink
    arrow-up
    4
    ·
    18 hours ago

    Does Ruby require the use of [] and {} there? Because those %w/%i/etc things look like custom quoting operators and at least in Perl you can use any delimiter you want: qw(a b c) is a list of strings, but so are qw+a b c+ and qw;a b c;.

    • HelloRoot@lemy.lol
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      edit-2
      15 hours ago

      Yes, but why?

      https://en.wikipedia.org/wiki/Principle_of_least_astonishment

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

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: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

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

  • 458 users / day
  • 892 users / week
  • 3.61K users / month
  • 8.89K users / 6 months
  • 2 local subscribers
  • 37.9K subscribers
  • 1.8K Posts
  • 38.2K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org