Search code examples
In Python, when should I use a function instead of a method?...


pythonfunctioncoding-stylemethods

Read More
What are the benefits to using anonymous functions instead of named functions for callbacks and para...


javascriptcoding-stylecallbackanonymous-functioncode-readability

Read More
empty lines in functions/methods...


coding-style

Read More
Is Go's multi-value return statement an alternative to exceptions?...


c++exceptioncoding-stylelanguage-designgo

Read More
Not using C++ exceptions by design, in llvm/clang...


c++exceptioncoding-stylellvmclang

Read More
How to name variable correctly to avoid warning like "Shadows name from outer scope" in Py...


pythonscopecoding-styleconvention

Read More
How to maintain enums (and adding new values) in a very large codebase...


javacoding-stylemaintainability

Read More
Efficient and Elegant Solution for Filling a Matrix with 0s and 1s and Setting Surrounding Cells to ...


cmatrixrandomcoding-stylecode-cleanup

Read More
PHP Coding styles return; in switch/case...


phpcoding-style

Read More
Clean architecture - where to put input validation logic?...


coding-stylebusiness-logicclean-architecture

Read More
Is it a good practice to place C++ definitions in header files?...


c++coding-styleheader-filescode-separation

Read More
Change the content of a <style> element through JavaScript...


htmldomcoding-style

Read More
How to use a git filter to implement a local code style different from the repository style?...


gitfiltercoding-styleclang-format

Read More
Orthogonailty with PHP development...


phpcoding-style

Read More
why are assignments in conditions bad?...


phpcoding-style

Read More
clojure idiomatic name for impure function...


clojurecoding-stylenaming-conventions

Read More
Clean Architecture: How to reflect the data layer's changes in the UI...


javaandroidarchitecturecoding-styleclean-architecture

Read More
Why is it recommended to use multiple files when making a C++ project?...


c++coding-styleconventions

Read More
Does the method name need to be grammatical?...


coding-stylenaming-conventionsnamingcode-conversion

Read More
Is it ever okay to catch an exception and do nothing?...


c#coding-styletry-catch

Read More
Is it possible to insert an if condition inside a return statement in C?...


ccoding-style

Read More
Elegant pattern for mutually exclusive keyword args?...


pythondesign-patternscoding-style

Read More
Are singleline if statements or if statements without braces bad practice?...


phpccoding-style

Read More
DTO's naming convention...


coding-stylenaming-conventionsdto

Read More
Shall I use guard clause, and try to avoid else clause?...


javaif-statementcoding-style

Read More
Should I use get_/set_ prefixes in Python method names?...


pythoncoding-style

Read More
Is there a well-established naming convention for PHP namespaces?...


phpcoding-stylenamespacesnaming-conventions

Read More
Java constructor style: check parameters aren't null...


javaconstructornullcoding-style

Read More
design pattern for calling multiple api in sequence...


design-patternscoding-style

Read More
How to make a div always be positioned in a single location on the screen?...


htmlcsscss-selectorscoding-style

Read More
BackNext