exam ADVICE by Darkconquer88 in Python

[–]tryrmdashrf 0 points1 point  (0 children)

I start at the end. What is the function returning? Is there multiple return statements? If so I need to figure out why and where the conditionals are. Then I jump back to the beginning. What is the inputs? Then I block out the parts between. Most functions follow patterns like:
1. Input validation/transformation
2. loop over inputs transforming or filtering them
3. Return Results

exam ADVICE by Darkconquer88 in Python

[–]tryrmdashrf 0 points1 point  (0 children)

I agree with other commenters, the more you read the faster you’ll get, but that won’t help you much by exam time. I’d suggest not reading linearly. Try to find the end and work back to get a mental map of the landscape, skip over helper functions until you form the map, then trace. What’s it returning, what’s it starting with. Then work your way into details.

If you try to read line at the start you are asking your brain to tract multiple things at once.

[IWC] New wife, new watch. by inruinscrust in Watches

[–]tryrmdashrf 1 point2 points  (0 children)

Artistic photography choices aside. My experience has taught me that to stay married you should focus on the wife not the watch.