---
title: "Anthony Fung (@anthonyf) | Hashnode"
description: "Angular/.NET Web developer. I write insights, thoughts, and stories to help software developers build a solid foundation for their skills"
url: "https://hashnode.com/@anthonyf"
---

@anthonyf

# Anthony Fung

@anthonyf · UK · Joined March 2023

Angular/.NET Web developer. I write insights, thoughts, and stories to help software developers build a solid foundation for their skills

### [7 Easy Steps to Writing Your First C# Unit Test](https://anthonyfung.hashnode.dev/7-easy-steps-to-writing-your-first-c-unit-test?utm_source=hashnode&utm_medium=feed)

Unit tests are typically the simplest form of automated test. Their aim should be to check the basic input and output of isolated units of logic. Because of their simplicity (relative to other types of tests), they are usually the fastest type of tes...

6 min read · [anthonyfung.hashnode.dev](https://anthonyfung.hashnode.dev/7-easy-steps-to-writing-your-first-c-unit-test?utm_source=hashnode&utm_medium=feed)

[May 24, 2023](https://hashnode.com/posts/7-easy-steps-to-writing-your-first-c-unit-test/646e30e90617594bb4e51940)

### [4 Types of Tests to Help Keep Your Software's Bug Count Low](https://anthonyfung.hashnode.dev/4-types-of-tests-to-help-keep-your-softwares-bug-count-low?utm_source=hashnode&utm_medium=feed)

Testing software before releasing it is essential. Ideally, we want as much testing done as possible. If we have more confidence that our code changes won’t break things, we can afford to move faster. There are many ways that we can test software. Th...

3 min read · [anthonyfung.hashnode.dev](https://anthonyfung.hashnode.dev/4-types-of-tests-to-help-keep-your-softwares-bug-count-low?utm_source=hashnode&utm_medium=feed)

[May 17, 2023](https://hashnode.com/posts/4-types-of-tests-to-help-keep-your-softwares-bug-count-low/6464db73f83390de27f2bba4)

### [What Does Design, Maintainability, and Testability Have to do with... Food?](https://anthonyfung.hashnode.dev/what-does-design-maintainability-and-testability-have-to-do-with-food?utm_source=hashnode&utm_medium=feed)

There’s a common saying that everyone has a unique programming style, and that we leave a ‘signature’ in the code we write. I’d agree that people often leave clues, though I’ll also say that the way I write code has changed for me over time. I wanted...

5 min read · [anthonyfung.hashnode.dev](https://anthonyfung.hashnode.dev/what-does-design-maintainability-and-testability-have-to-do-with-food?utm_source=hashnode&utm_medium=feed)

[May 10, 2023](https://hashnode.com/posts/what-does-design-maintainability-and-testability-have-to-do-with-food/645bac33ddc45b5e40f7734f)

### [Using Dependency Injection and Service Locators to get References in C#](https://anthonyfung.hashnode.dev/dependency-injection-and-service-locators-in-c-sharp?utm_source=hashnode&utm_medium=feed)

I received a coursework project in the second year of my studies. As it was the first time that the students on the course were expected to build a Java desktop app with a user interface (UI), the course lecturer gave us an introduction to creating U...

5 min read · [anthonyfung.hashnode.dev](https://anthonyfung.hashnode.dev/dependency-injection-and-service-locators-in-c-sharp?utm_source=hashnode&utm_medium=feed)

[May 3, 2023](https://hashnode.com/posts/dependency-injection-and-service-locators-in-c-sharp/64526bda7e86abf007e0e738)

### [Composition or Inheritance: What’s better?](https://anthonyfung.hashnode.dev/composition-or-inheritance-whats-better?utm_source=hashnode&utm_medium=feed)

“What’s better: composition or inheritance?” I froze. Time stood still for me. I diverted my gaze leftward through a tall window in the room. The view wasn’t particularly inspiring: I could see the grey concrete wall of the office building across the...

5 min read · [anthonyfung.hashnode.dev](https://anthonyfung.hashnode.dev/composition-or-inheritance-whats-better?utm_source=hashnode&utm_medium=feed)

[Apr 26, 2023](https://hashnode.com/posts/composition-or-inheritance-whats-better/64492617b0864d740aabfc30)
