Hacker News new | ask | show | jobs
by LittlePeter 1418 days ago
On a similar note: respectively. Stop using it. "To variables a and b assign values 1 and 2, respectively".

Who ever is getting confused here if "respectively" is left out?

1 comments

It's suppose to be clarifying between a=1 b=2 and a = [1,2] b = [1,2]

For example "Give the cookies and brownies to Angie and Bob" could mean both Angie and Bob get both cookies and brownies. "Give the cookies and brownies to Angie and Bob, respectively" clarifies that the cookies go to Angie, and the brownies go to Bob.

Thanks, I learned something new.