INSIGHTS

Knowledge Hub

From code to culture, ideas and perspectives from the people at Technogise. We explore engineering practices, technology, design, and the way we work. Whether you prefer reading or watching, there's something here for every curious mind.

Explore Library

Technology
Technology

Why Go?

Anam Shah
August 29, 2019
Blog
Programming
Go
Golang
Why Golang
Technology
Google language, statically typed, compiled language, Rob Pike, Ken Thompson, Robert Griesemer, November 2009
Design
Design

Extract Method

Dattatray Kale
August 21, 2019
Blog
Programming
Clean Code
Software Craftsmanship
Software Design
Extract Method
long method refactoring, method cohesion, code reuse, readability improvement, single responsibility, refactor method body, duplicate logic
Design
Design

Don’t use abbreviations while naming variables

Dattatray Kale
August 21, 2019
Blog
Programming
Software Craftsmanship
Clean Code
Software Design
shopping cart pricing, GST slab calculation, code retreat exercise, engineering graduates, final price calculator, product item pricing, variable naming conventions
Design
Design

Avoid complex conditionals using the ternary operator

Dattatray Kale
August 20, 2019
Blog
Programming
Clean Code
Software Design
Software Craftsmanship
conditional expression, nested ternary, inline if else, ternary readability, simple conditional return, ternary nesting, conditional operator
Design
Design

Encapsulate conditionals

Dattatray Kale
August 19, 2019
Blog
Clean Code
Software Design
Programming
Software Craftsmanship
nested if statements, boolean logic complexity, business rule checks, readability in code, conditional branching, package validation logic, decision logic refactoring
Design
Design

Be declarative wherever possible

Dattatray Kale
August 19, 2019
Blog
Programming
Software Craftsmanship
Software Design
Declarative Programming
Clean Code
array search function, boolean membership check, linear array scan, predicate based lookup, control flow logic, loop iteration example, search term matching
Design
Design

Return as early as possible

Dattatray Kale
August 14, 2019
Blog
Clean Code
Software Design
Programming
Software Craftsmanship
leap year check, divisible by 400, nested conditionals, early return pattern, year validation logic, conditional branching
Design
Design

Fail as early as possible

Dattatray Kale
August 14, 2019
Blog
Clean Code
Software Design
Programming
Software Craftsmanship
deeply nested conditionals, nested if statements, guard clause pattern, error handling flow, user registration validation, mandatory field checks, early return pattern
Design
Design

Replace magic number with named constants

Dattatray Kale
August 14, 2019
Blog
Programming
Clean Code
Software Design
Software Craftsmanship
hardcoded literals, numeric literals, literal values, constant declaration, inline constants, code readability, refactoring literals
Design
Design

Introduce explaining variable

Dattatray Kale
August 13, 2019
Blog
Clean Code
Software Craftsmanship
Software Design
Programming
temporary local variable, conditional expression readability, nested if statements, boolean logic simplification, code refactoring readability, extract variable pattern, pair programming review
Design
Design

Don’t be anti-negative

Dattatray Kale
August 12, 2019
Blog
Clean Code
Software Design
Software Craftsmanship
Programming
negative conditionals, double negatives, boolean logic, if statement readability, conditional expressions, negated conditions, code readability
Design
Design

Don’t add unnecessary context

Dattatray Kale
August 12, 2019
Blog
Clean Code
Software Design
Software Craftsmanship
Programming
redundant class names, repeated identifier names, self descriptive members, domain model naming, prefix duplication smell, student property naming, method name redundancy
Design
Design

Naming query variables

Dattatray Kale
August 10, 2019
Blog
Clean Code
Programming
Software Design
Software Craftsmanship
deferred execution, lazy query evaluation, query variable naming, immediate execution bug, LINQ query naming, deferred query object, query expression variable
Design
Design

Naming boolean variables

Dattatray Kale
August 9, 2019
Blog
Programming
Clean Code
Software Design
Software Craftsmanship
boolean naming conventions, predicate variable names, yes no questions, boolean flag naming, negated boolean names, state check variables, boolean identifier patterns
Design
Design

Naming functions or methods

Dattatray Kale
August 8, 2019
Blog
Programming
Clean Code
Software Design
Software Craftsmanship
Naming Conventions
abbreviation smell, method name smell, poor function names, cryptic identifiers, boolean flag names, parameter naming, self documenting code