Click here to Skip to main content
15,867,594 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: What are some stupid-useful coding tricks you rely on? Pin
honey the codewitch8-Jan-23 11:59
mvahoney the codewitch8-Jan-23 11:59 
GeneralRe: What are some stupid-useful coding tricks you rely on? Pin
honey the codewitch8-Jan-23 12:07
mvahoney the codewitch8-Jan-23 12:07 
QuestionRe: What are some stupid-useful coding tricks you rely on? Pin
CPallini8-Jan-23 7:17
mveCPallini8-Jan-23 7:17 
AnswerRe: What are some stupid-useful coding tricks you rely on? Pin
raddevus8-Jan-23 7:31
mvaraddevus8-Jan-23 7:31 
GeneralRe: What are some stupid-useful coding tricks you rely on? Pin
CPallini8-Jan-23 7:48
mveCPallini8-Jan-23 7:48 
GeneralRe: What are some stupid-useful coding tricks you rely on? Pin
honey the codewitch8-Jan-23 14:55
mvahoney the codewitch8-Jan-23 14:55 
GeneralRe: What are some stupid-useful coding tricks you rely on? Pin
Mircea Neacsu8-Jan-23 10:27
Mircea Neacsu8-Jan-23 10:27 
GeneralRe: What are some stupid-useful coding tricks you rely on? Pin
raddevus8-Jan-23 11:08
mvaraddevus8-Jan-23 11:08 
If I were to respond to your message, which I won't, I would say something along hte lines of:

1. Programmers and the like are the most abysmal people of all. They cannot enjoy any solution other than the ones they understand.

2. The OP asked for code samples which they found useful -- and I replied with code I found useful and interesting -- but never intimated that it was the _best_ solution. I am a hobbyist on Arduino. Nothing more.

3. It is comments exactly like yours that make the internet such an abysmal experience for everyone.

4. And I thought of another -- the debounce code that you don't like was actually taken from Jeremy Blum's fantastic book, Exploring Arduino[^]. So take it up with him. See his github and do a code review on him there (GitHub - sciguy14/Exploring-Arduino-2nd-Edition: Companion Code for the Second Edition of "Exploring Arduino," the book by Jeremy Blum[^]).

But I will not respond here. Roll eyes | :rolleyes:

modified 8-Jan-23 17:19pm.

GeneralRe: What are some stupid-useful coding tricks you rely on? Pin
Mircea Neacsu8-Jan-23 11:28
Mircea Neacsu8-Jan-23 11:28 
GeneralRe: What are some stupid-useful coding tricks you rely on? Pin
raddevus8-Jan-23 11:40
mvaraddevus8-Jan-23 11:40 
GeneralRe: What are some stupid-useful coding tricks you rely on? Pin
Marcelo Huerta9-Jan-23 6:16
Marcelo Huerta9-Jan-23 6:16 
GeneralRe: What are some stupid-useful coding tricks you rely on? Pin
jmaida8-Jan-23 15:54
jmaida8-Jan-23 15:54 
GeneralRe: What are some stupid-useful coding tricks you rely on? Pin
BillWoodruff8-Jan-23 20:33
professionalBillWoodruff8-Jan-23 20:33 
GeneralRe: What are some stupid-useful coding tricks you rely on? Pin
Mircea Neacsu10-Jan-23 6:34
Mircea Neacsu10-Jan-23 6:34 
AnswerRe: What are some stupid-useful coding tricks you rely on? Pin
Mike Hankey8-Jan-23 7:42
mveMike Hankey8-Jan-23 7:42 
AnswerRe: What are some stupid-useful coding tricks you rely on? Pin
Marc Clifton8-Jan-23 11:28
mvaMarc Clifton8-Jan-23 11:28 
GeneralRe: What are some stupid-useful coding tricks you rely on? Pin
honey the codewitch8-Jan-23 12:01
mvahoney the codewitch8-Jan-23 12:01 
AnswerRe: What are some stupid-useful coding tricks you rely on? Pin
Gary R. Wheeler8-Jan-23 13:53
Gary R. Wheeler8-Jan-23 13:53 
GeneralRe: What are some stupid-useful coding tricks you rely on? Pin
honey the codewitch8-Jan-23 14:52
mvahoney the codewitch8-Jan-23 14:52 
PraiseRe: What are some stupid-useful coding tricks you rely on? Pin
Gary Wheeler9-Jan-23 2:38
Gary Wheeler9-Jan-23 2:38 
GeneralRe: What are some stupid-useful coding tricks you rely on? Pin
honey the codewitch9-Jan-23 5:18
mvahoney the codewitch9-Jan-23 5:18 
GeneralRe: What are some stupid-useful coding tricks you rely on? Pin
Gary Wheeler9-Jan-23 5:23
Gary Wheeler9-Jan-23 5:23 
GeneralRe: What are some stupid-useful coding tricks you rely on? Pin
honey the codewitch9-Jan-23 5:54
mvahoney the codewitch9-Jan-23 5:54 
AnswerRe: What are some stupid-useful coding tricks you rely on? Pin
Mircea Neacsu8-Jan-23 14:08
Mircea Neacsu8-Jan-23 14:08 
GeneralRe: What are some stupid-useful coding tricks you rely on? Pin
honey the codewitch8-Jan-23 14:53
mvahoney the codewitch8-Jan-23 14:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.