One way to never forget cdr is using dolist or the cl-loop facility instead of a raw while loop.
I almost never use while for iterating on lists. while is better for loops that stop on conditions like reaching the end of the buffer.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
One way to never forget
cdr
is usingdolist
or thecl-loop
facility instead of a rawwhile
loop.I almost never use
while
for iterating on lists.while
is better for loops that stop on conditions like reaching the end of the buffer.