Midwest Dev Chat

MidwestDevChat.com

  • The newest 15 messages in the super-cool #perl channel.

  • 11/21 12:06:58 Valery: Using spaces instead of commas would change the parsing and make a lot of things more complicated in many (most?) languages.
  • 11/21 13:08:31 Luise: @Abe I usually see `qw//` used for this. `perldoc -f qw`
  • 11/21 13:09:03 Luise: `foreach my $thing (qw/ foo bar baz 17 42 wutwut /) { }`
  • 11/21 13:25:35 Abe: Yup- but that implies they’re all strings.
  • 11/21 13:25:43 Abe: Or you want them to be strings.
  • 11/21 13:34:37 Izetta: we're in perl, so "strings"... laughing
  • 11/21 13:40:46 Luise: ya, worrying about types isn't very perly slightly_smiling_face
  • 11/21 13:41:08 Luise: I mean you CAN if you want to, but by default who gives a fudge? slightly_smiling_face
  • 11/21 13:41:42 Luise: It's rare that I need strong typing. When I do, Moose attributes. shrug
  • 11/21 13:41:56 Luise: all built into perl6 of course
  • 11/21 13:44:12 Luise: at a glance not seeing optional commas in perl6, but it wouldn't surprise me
  • 11/21 14:08:11 Abe: I mean, instead of symbols that resolve to something else
  • 11/21 14:08:49 Abe: weak typing != dynamic typing / strong typing != static typing
  • 11/21 14:09:17 Izetta: oh, i see what you mean
  • 11/21 14:09:20 Abe: When I write perl, I basically expect it to DWIM (do what I mean). … it usually does. smile
  • *Usernames have been changed to protect the innocent.
We're currently 997 members strong. Join us!
Request Invite

Check out all the cool channels!

Join the conversation!