timestamp()
timestamp() is simple if you keep it on paper. Ananya uses it for a timestamp dry-run in a viva board.
Keep timestamp() small. Ananya should finish a timestamp dry-run in a few lines, not a 40-line dump.
Without timestamp(), a viva board gets messy and a timestamp dry-run is hard to trust.
timestamp() shows up in a viva board. Name a timestamp dry-run, not “a real-world scenario”.
Don’t do this with timestamp() — skipping the failure case for timestamp. Interviewers spot it in ten seconds.
After timestamp(), Ananya should still remember skipping the failure case for timestamp.
Close timestamp() with: “If I skip it, a timestamp dry-run goes wrong like this: skipping the failure case for timestamp.”
For timestamp(): definition + a viva board + one failure.