October 2, 2019 – Today I learned:

Choicology podcast – Not Quite Enough

Organizing your calendar/day isn’t like organizing your pantry. When fitting something in, think about what’s before and after – and about your available bandwidth. Arrange based on what fits conceptually “like hanging art on the wall” vs packing a meeting into an open time slot. 

Freakonomics podcast – Fed Up

I loved listening to how Mary Daly’s past shapes her ability to see the bigger picture.

 I guess the question I ask myself is, “Why are the perceptions of what economics is, even among economists, so very different than the reality of what we do?” One reason is, it’s really hard to be vulnerable. It’s really difficult to say we don’t know. I’m trained to be quantitative. My whole ethos is about quantitative measurement, trying to figure things out. But if you do that — and I think there are many economists who reach this point in their career — if you do that, you eventually run into the wall that is, the data aren’t the answers. They’re part of the answer, but they’re not the complete picture.

Generic Classes in Java

Example given used an abstract class for Player, and then classes for different types of sports players (baseball, football, soccer). The Team class uses the generic Type, but extends Player – so you can create a team using any of these classes, but it has to extend Player. 

Public class Team < T extends Player >
Private ArrayList<T> members = new ArrayList<>();
Public boolean addPlayer(T player){}

Team<BaseBallPlayer> baseballTeam = new Team<>(“Angels”);
baseballTeam.addPlayer(bob);

UML Diagrams / Pseudocode

  • Note to self: Learn how to be more efficient with how I plan coding projects. Also, work on testing code throughout.