---
title: "Brian Onchari (@Onchari) | Hashnode"
description: "Software Engineer. Read the latest articles by Brian Onchari on Hashnode."
url: "https://hashnode.com/@Onchari"
---

@Onchari

# Brian Onchari

@Onchari · Nairobi, Kenya · Joined May 2020

Software Engineer

[Website](https://studycode.co/)

### [An Introduction to RabbitMQ: How It Works and Why You Should Use It](https://brian.hashnode.dev/an-introduction-to-rabbitmq-how-it-works-and-why-you-should-use-it?utm_source=hashnode&utm_medium=feed)

RabbitMQ is a tool that helps computers talk to each other. Imagine that you want to send a message to your friend across the street. You could yell the mes

5 min read · [brian.hashnode.dev](https://brian.hashnode.dev/an-introduction-to-rabbitmq-how-it-works-and-why-you-should-use-it?utm_source=hashnode&utm_medium=feed)

[Jan 7, 2023](https://hashnode.com/posts/an-introduction-to-rabbitmq-how-it-works-and-why-you-should-use-it/63b9d5762b392570a43e5496)

### [Methods Vs Functions in OOP context](https://brian.hashnode.dev/methods-vs-functions-in-oop-context?utm_source=hashnode&utm_medium=feed)

I used to think that methods and functions are the same. Once in an interview I was asked a question relating to OOP programming concepts. In my explanation I used both methods and functions to mean the same thing. The next question I was asked was :...

3 min read · [brian.hashnode.dev](https://brian.hashnode.dev/methods-vs-functions-in-oop-context?utm_source=hashnode&utm_medium=feed)

[Mar 6, 2021](https://hashnode.com/posts/methods-vs-functions-in-oop-context/6043c4105a56f82fa3ecc093)

### [Kotlin Scope functions :let, run ,also apply, with](https://brian.hashnode.dev/kotlin-scope-functions-let-run-also-apply-with?utm_source=hashnode&utm_medium=feed)

The Kotlin standard library comes with many functions to and the scope functions is one of them. So what exactly is a scope function? There are instances when we need to execute a block of code within a context of an object. These functions can be ca...

4 min read · [brian.hashnode.dev](https://brian.hashnode.dev/kotlin-scope-functions-let-run-also-apply-with?utm_source=hashnode&utm_medium=feed)

[Jan 8, 2021](https://hashnode.com/posts/kotlin-scope-functions-let-run-also-apply-with/5ff85712aa5c467fe1557667)

### [Testing on android with Hilt](https://brian.hashnode.dev/testing-on-android-with-hilt?utm_source=hashnode&utm_medium=feed)

After exploring and using the dagger-hilt dependency injection, I went further to learn how use it when writing test cases for my apps. Comparing hilt with other dependency injection libraries, it makes dependency injection much easier reducing boil...

6 min read · [brian.hashnode.dev](https://brian.hashnode.dev/testing-on-android-with-hilt?utm_source=hashnode&utm_medium=feed)

[Dec 7, 2020](https://hashnode.com/posts/testing-on-android-with-hilt/5fce2448b893f0197d5989c6)

### [What is TDD??](https://brian.hashnode.dev/what-is-tdd?utm_source=hashnode&utm_medium=feed)

Test Driven Development (TDD) is a development technique whose main principle is that we write our test cases before implementation of the functions(Unit Tests).It involves designing and developing tests for every small functionality. Steps in TDD W...

2 min read · [brian.hashnode.dev](https://brian.hashnode.dev/what-is-tdd?utm_source=hashnode&utm_medium=feed)

[Nov 20, 2020](https://hashnode.com/posts/what-is-tdd/5fb765a2ba1e08716c77ec02)
