| bio | website | linkedin.com/pub/weston-pace/… |
|---|---|---|
| location | Loveland, CO | |
| age | 27 | |
| visits | member for | 2 years, 3 months |
| seen | May 6 at 13:14 | |
| stats | profile views | 10 |
Software Engineer at JDSU Technologies.
|
Mar 24 |
comment |
How can I learn to effectively write Pythonic code? +1 Once you know the basics of a language, reading code will help far more than reading books. |
|
Mar 24 |
accepted | High-Availability Vs. Cloud Scaling |
|
Mar 22 |
asked | High-Availability Vs. Cloud Scaling |
|
Dec 2 |
awarded | Commentator |
|
Dec 2 |
comment |
Why is the sudden increase in number of Git submitters on Debian popcon graph in 2010-01? git-core is just not as cool of a name. Once they changed that everything was rainbows and unicorns. |
|
Nov 30 |
comment |
Questioning pythonic type checking As for your last point. I am essentially constructing a dependency injection container. If the components have an init method I call it, if they don't, I don't. I would be extremely interested in another approach which is cleaner. |
|
Nov 30 |
comment |
Questioning pythonic type checking That's what I get for not doing my research. Your approach solves both my concerns with the try/except. |
|
Nov 30 |
accepted | Questioning pythonic type checking |
|
Nov 30 |
comment |
Questioning pythonic type checking @MartijnPieters Nope, I hadn't seen that question. Won't let me close it at this point although that's probably for the best as pilmuncher's answer is exactly what I was looking for. |
|
Nov 29 |
asked | Questioning pythonic type checking |
|
Nov 13 |
comment |
Pythonic use of the isinstance function? Thanks for the detailed answer. I'm going to look into ABCs, I think they may help here. We shouldn't have too many. |
|
Nov 13 |
accepted | Pythonic use of the isinstance function? |
|
Nov 9 |
asked | Pythonic use of the isinstance function? |
|
Aug 23 |
answered | Arguments for a coding standard? |
|
Aug 11 |
comment |
Justification for bidirectional relationship Great answer. I don't know why I didn't think of passing both tiles in. My problem was that I was assuming the MoveManager lived above the Item and the Tile. This would lead to the Item becoming a POJO. However, the MSDN article (and your answer) would suggest the Item lives above the MoveManager and passes the tiles down to the MoveManager, which knows about all the logic of handling collisions, etc. |
|
Aug 11 |
awarded | Supporter |
|
Aug 11 |
accepted | Justification for bidirectional relationship |
|
Aug 10 |
asked | Justification for bidirectional relationship |
|
Jun 1 |
comment |
What is the benefit of hypermedia (HATEOAS)? How is an application supposed to get the item from an order if the application doesn't even know an order has an item? Discovery works for manual browsing but not for automated applications. |
|
May 18 |
awarded | Scholar |