u/bondo - 2 Archived Voat Posts in v/programming
u/bondo
  • home
  • search

u/bondo

0 posts · 2 comments · 2 total

Active in: v/programming (2)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: [C#] Lovely idea for unused lambda parameters

Yeah, in C# I would do this:

Users.ValuesChanged += (_,__) => HasChanges = true;

It's gets a bit ugly with more than two parameters, but not horrid. It's times like these that I wish C# had an "ignore" symbol like Go's underscore.

0 15 Jul 2015 20:08 u/bondo in v/programming
Comment on: [C#] Lovely idea for unused lambda parameters

And then someone edits the file with a tool that saves with windows-1252 and you're all (╯°□°)╯︵ ┻━┻

5 15 Jul 2015 16:59 u/bondo in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

archive has 9,592 posts and 65,719 comments. source code.