• 0 Posts
  • 5 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle


  • We usually know O’Reilley as that one annoying website that opens up with minimal information and a pointer to some chapter in some book of theirs that you need to buy to solve the question you asked

    In all seriousness, people do know it exists but free/cheap online educational content is surprisingly accessible now so nobody really migrates towards textbooks anymore. Although I do admit that occasionally books have a lot of useful information that is very hard to obtain otherwise


  • I love dart’s approach to getter and setter methods… They let you define methods labelled explicitly as “get” or “set” methods that you can call without writing the parentheses. So the call looks like accessing a member variable, but internally it can handle additional functionality like logging or validation or whatever you want. So the syntax would look like the first example in the meme, but with all the benefits of the second example. I wish more languages would incorporate this