Search code examples
Idiomatic way to create n-ary cartesian product (combinations of several sets of parameters)...


kotlinsetcartesian-productidioms

Read More
Should I use std::rethrow_exception rather than directly rethrowing it?...


c++c++11exceptionidiomsrethrow

Read More
How should I loop over the elements of a C++ container in reverse order?...


c++iterationcontainersreverseidioms

Read More
Idiom for initializing an std::array using a generator function taking the index?...


c++c++17idiomsstdarrayobject-construction

Read More
Alternative to the `match = re.match(); if match: ...` idiom?...


pythonidioms

Read More
Named Parameter idiom in Java...


javaidioms

Read More
What does if __name__ == "__main__": do?...


pythonnamespacesprogram-entry-pointpython-moduleidioms

Read More
LBYL vs EAFP in Java?...


javapythonerror-handlingidioms

Read More
How do I reverse an int array in Java?...


javaarraysidioms

Read More
Python indentation in "empty lines"...


pythoncoding-styleidioms

Read More
What are the implications of using def vs. val for constant values?...


functionscalaimmutabilityidioms

Read More
Pythonic way to write functions/methods with a lot of arguments...


pythonidioms

Read More
C++ - std::initializer_list vs std::span...


c++c++20idiomsstd-spanstdinitializerlist

Read More
What is the pythonic way to detect the last element in a 'for' loop?...


for-looppythonidiomsfencepost

Read More
Are global device-side variables in CUDA bad practice?...


cudaglobal-variablesidioms

Read More
What's the idiomatic way of assigning a nullable variable to 2 different blocks?...


kotlinidioms

Read More
Idiomatic way of checking the widget tree downward...


flutteridioms

Read More
How to instantiate a struct containing many private properties in a separate module without using a ...


ruststructencapsulationidioms

Read More
Most C++'ish way to check if value belongs to certain static set...


c++setidiomssyntactic-sugar

Read More
Is it "legitimate" to define an std::chrono Clock which doesn't really offer a now() f...


c++clockidiomsc++-chrono

Read More
How should I idiomatically represent time intervals (not just durations) in C++?...


c++timeintervalsidiomsc++-chrono

Read More
In CMake, how do I check whether a string contains an integral number?...


regexcmakenumbersidiomsstring-parsing

Read More
Acceptable Golang idiomatic nested error handling?...


goidioms

Read More
Efficient yet ergonomic way to represent a gamepad state struct in Rust...


ruststructidioms

Read More
Is this Python code a kind of typecast, and, if so, what is going on under the hood?...


pythonnumpyctypesidioms

Read More
Use of ternary operator instead of if-else in C++...


c++if-statementidioms

Read More
idiomatic Go name for struct in package?...


goidioms

Read More
C# idiomatic `myList.All((item, index) => {...})`...


c#linqidioms

Read More
When is it appropriate to use an associated type versus a generic type?...


typesrustidioms

Read More
pimpl for a templated class...


c++idiomspimpl-idiom

Read More
BackNext