Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in idioms

What's the idiomatic python equivalent of get() for lists?

python idioms

Idiomatic clojure conditionally calling a function

clojure idioms

Two nested for of for and map?

map for-loop clojure idioms

How do I wrap a plain buffer of char's with an std::string or an equivalent thereof?

c++ string wrapper idioms

Idiomatic way to detect sequences of x times same object in an Array in Smalltalk?

arrays smalltalk pharo idioms

Execute function only if a variable is True

python methods idioms

Is there a better alternative to this Ruby idiom?

ruby-on-rails ruby idioms

How to make this code more compact and idiomatic?

How to implement an interface class using the non-virtual interface idiom in C++?

idiomatic C++ for creating a std::vector from the last n elements of a std::map

c++ vector map idioms

Scala/Java enumerations

java scala enums idioms

Idiom for container classes [closed]

java class containers idioms

Idiomatic method to convert Array into ListBuffer

Why does HashMap have iter_mut() but HashSet doesn't?

Is there a nice idiom for adding a new list or appending to a list (if present) in a dictionary?

dictionary python idioms

Is there an idiomatic way to specify default values for optional parameters in Ruby?

ruby idioms

Javascript regexp: replacing $1 with f($1)

javascript regex string idioms

Pythonically inserting multiple values to a list

python list insert idioms

x or y: acceptable idiom, or obfuscation?

What are your favorite C++ idioms? [duplicate]

c++ idioms