Open in app

Sign In

Write

Sign In

Birat Rai
Birat Rai

429 Followers

Home

About

Jun 9

Kotlin Tips: What happens if you Add `null + null` in Kotlin

This Kotlin Tips Series will include some useful tips in Kotlin based on Kotlin Tips 2023 by JetBrains. Null-safety is number one in Kotlin — but what happens when you add null + null, val result = null + null Why does it return a string? Kotlin tries to be helpful and tries to find operator overloading, which in this case is plus operator (+)

Kotlin

1 min read

Kotlin

1 min read


May 12

Kotlin Tips: How to improve Loops in Kotlin

This Kotlin Tips Series will include some useful tips in Kotlin based on Kotlin Tips 2023 by JetBrains How to improve Loops in Kotlin? What are Loops? A Loop is used to repeat a specific block of code over and over until a certain condition has been satisfied There are two main types of loops, for…

Programming

2 min read

Programming

2 min read


May 12

Kotlin Tips

This series will include some useful tips in Kotlin based on Kotlin Tips 2023 by JetBrains How to improve Loops in Kotlin? What happens if You Add null + null in kotlin? Deduplicating Collection Items The suspend and Inline Mystery Fully Qualified Names to the Rescue Return and Throw with Elvis Operator Destructuring Declarations Operator Functions With Nullable Values Calculate Your Code Performance

Kotlin

1 min read

Kotlin

1 min read


Apr 19

Step 75: Simplicity Comes from Reduction~ Paul W. Homer

This is the 75th Step towards gaining the Programming Enlightenment series. If you didn’t learn the 74th Step, read it. Be it due to fear of removing old bad code or trying to make minimal changes to solve the task. Often time we fall into the rabbit-hole of trying to…

2 min read

Step 75: Simplicity Comes from Reduction~ Paul W. Homer
Step 75: Simplicity Comes from Reduction~ Paul W. Homer

2 min read


Jan 7, 2021

Step 74: The Road to Performance Is Littered with Dirty Code Bombs ~ Kirk Pepperdine

This is the 74th Step towards gaining the Programming Enlightenment series. If you didn’t learn the 73rd Step, read it. What is road to performance? Most of us work in a code that has already been written, and also as we start writing code, because of time constraints or development…

Software Development

2 min read

Software Development

2 min read


Jan 6, 2021

Step 73: Resist the Temptation of the Singleton Pattern~ Sam Saariste

This is the 73rd step towards gaining the Programming Enlightenment series. If you didn’t learn the 72nd Step, read it. What is Singleton Pattern? Singleton Pattern is one of the software design pattern mentioned in the Gang Of Four’s design patterns book. This design pattern describes restricting the instantiation of…

Java

2 min read

Step 73: Resist the Temptation of the Singleton Pattern~ Sam Saariste
Step 73: Resist the Temptation of the Singleton Pattern~ Sam Saariste
Java

2 min read


May 1, 2020

Step 72: Reinvent the Wheel Often~ Jason P Sage

This is the 72nd Step towards gaining the Programming Enlightenment series. If you didn’t learn the 71st Step, read it. What is REINVENT THE WHEEL? “To Reinvent the wheel is to duplicate a basic method that has already previously been created or optimized by others.” ~ Wiki So, why reinvent the wheel? When we think we want to get intimate…

Software Development

2 min read

Step 72: Reinvent the Wheel Often~ Jason P Sage
Step 72: Reinvent the Wheel Often~ Jason P Sage
Software Development

2 min read


Jun 13, 2019

Working Effectively With Legacy Code — Mechanics of Change(Part II: Chapter 1)

This is Part II: Chapter 1of the Working Effectively With Legacy Code series. If you haven’t read the previous Part I: Chapter 5. PART II: Changing Software Chapter 1: I Don’t Have Much Time and I Have to Change It. It Happens Someplace Every Day Your boss comes in. He says, “Clients are clamoring for this feature. Can we get it done today?” “I don’t know.” You…

Android

6 min read

Android

6 min read


Jun 6, 2019

Working Effectively With Legacy Code — Mechanics of Change(Part 1: Chapter 5)

This is Chapter 5 of the Working Effectively With Legacy Code series. If you haven’t read the previous Chapter 4. Part 1: Mechanics of Change: Chapter 5: Tools You need to know what tools you need when you work with legacy code. …

Software Development

3 min read

Working Effectively With Legacy Code — Mechanics of Change(Part 1: Chapter 5)
Working Effectively With Legacy Code — Mechanics of Change(Part 1: Chapter 5)
Software Development

3 min read


Jun 4, 2019

Step 71: Read the Humanities~ Keith Braithwaite

This is the 71st Step towards gaining the Programming Enlightenment series. If you didn’t learn the 70th Step, read it. People write software with people for people. It’s people business. …

Programming

2 min read

Step 71: Read the Humanities~ Keith Braithwaite
Step 71: Read the Humanities~ Keith Braithwaite
Programming

2 min read

Birat Rai

Birat Rai

429 Followers

MyView androidView;

Following
  • Mike Wolfson

    Mike Wolfson

  • Michal Bialas

    Michal Bialas

  • Mirek Stanek

    Mirek Stanek

  • Elye

    Elye

  • KD Knowledge Diet

    KD Knowledge Diet

See all (71)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams