Skip to content
Snippets Groups Projects
Commit 6dfa9fd1 authored by Lukas Juhrich's avatar Lukas Juhrich Committed by Dan Michael O. Heggø
Browse files

Refactor linebreaks / membership testing

Lines > 90 chars have ben wrapped appropriately (except for a few cases
where readability would have decreased)

For membership testing against a container of multiple values, mostly
use `sets`!  Tuples are technically working, but semantically not the
right choice.  Tuples have structural meaning and are heterogeneous,
while sets concern membership and uniqueness, being the correct tool.

This is a similiar reasoning as in
http://stackoverflow.com/a/626871/2443886 concerning lists vs. tuples.
parent 52b9d8b8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment