Search code examples
Finding an item that matches predicate in Scala...

scalacollectionsidioms

Read More
Idiomatic way to count occurrences in a collection of Options...

rustidioms

Read More
Which way is ideal for Python factory registration?...

pythonpython-3.xpython-decoratorsidioms

Read More
What is the idiomatic way to return an error from a function with no result if successful?...

error-handlingrustoption-typeidiomsrust-result

Read More
What's the idiomatic Kotlin way to write `if...else null` as part of ?./?: chains?...

kotlinidioms

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

pythonidioms

Read More
In Ruby, Idiomatically and cleanly improve on this use of split and map to turn string input to a 2d...

rubyclosuresstring-parsingidiomsreadability

Read More
How should I replace vector<uint8_t>::const_iterator in an API?...

c++c++17binary-dataidioms

Read More
how to test condition properly: je or jge...

assemblyx86idiomsloop-counter

Read More
idiomatic way for `class<T>` to `class<const T>` conversion operator...

c++type-conversionoperator-overloadingidioms

Read More
Ruby idiom: method call or else default...

rubymethodsdefaultidioms

Read More
Is there an abstraction for the declare-update-return pattern?...

rubydesign-patternsidiomsmutation

Read More
how to have multiple throwaway arguments...

haskellidioms

Read More
python: automatically differentiate between list / tuple / array and int / float...

pythonarraysidioms

Read More
More idiomatic way to initialize this kotlin list?...

listkotlinimmutabilityidioms

Read More
String concatenation with Groovy...

stringgroovyidiomsstring-concatenationgstring

Read More
Evaluate expressions until one returns true...

c++idioms

Read More
Idiomatic config management in clojure?...

configurationclojureconfigureconfiguration-managementidioms

Read More
Is there a name for this C++ idiom in which a type vends a wrapper that expands its interface?...

c++inheritancedesign-patternsnaming-conventionsidioms

Read More
What's the idiomatic way to define multiple functions as the same type in Scala?...

scalafunctional-programmingidioms

Read More
Should we use Option or ptr::null to represent a null pointer in Rust?...

nullrustidioms

Read More
How can I make this code into more idiomatic pandas?...

pandasidioms

Read More
Idiomatic way to get a random number that is different from a previous one?...

randomrustidioms

Read More
Idiomatic way to pass an array of `OsStr`...

arraysstringrustidioms

Read More
How would I write this in idiomatic Kotlin? - 2...

kotlinidioms

Read More
Idiomatic/Groovy way to add two maps, either of which may be null...

dictionarygroovyidioms

Read More
What is a programming idiom?...

language-agnosticidioms

Read More
Is this a good structure for my jQuery scripts?...

javascriptjqueryidioms

Read More
Idiomatic Kotlin when checking null...

javakotlinidioms

Read More
Kotlin's 'let' plus elvis, and accidental null return values...

kotlinidioms

Read More
BackNext