[wp-trac] [WordPress Trac] #25073: Heartbeat performance and API improvements
WordPress Trac
noreply at wordpress.org
Mon Aug 19 21:10:16 UTC 2013
#25073: Heartbeat performance and API improvements
-------------------------+------------------------------
Reporter: evansolomon | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+------------------------------
Comment (by evansolomon):
Replying to [comment:1 johnbillion]:
> Is it not safest to keep breaks in switch statements even if they're not
reachable? It aids clarity, and if the code is altered down the line it
may introduce bugs due to unintentional fallthrough.
I could understand that argument and wouldn't object if someone wanted to
merge this patch with that change. Personally, I would always choose to
remove code that can never run, but I can see how this is a potentially
special case.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25073#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list