When I'm coding something and I've already done a desired algorithm elsewhere in the code, I'm often tempted to copy/paste it to the new location and directly adapt it to that case. It's very quick and I immediately feel good how fast I got things done (instant gratification).
-
-
Even just a few lines of code can become as opaque as a brick in just a few days, and I'd rather see get_rampdown_frame_count(channel_index); than whatever is in the function itself.
-
I write comments everywhere for that same reason.
Keskustelun loppu
Uusi keskustelu -
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.