Anthony Fung (@ant_f_dev) header
Anthony Fung (@ant_f_dev) profile picture

I write about topics in software engineering I’ve picked up as an Angular/C# Web developer. Join my newsletter for weekly stories and development tips.

Joined August 2022
Creating mouseover/hover effects are a great way to add some interactivity/feedback to icons in your Web app. Here's an intro to doing so with SVG images. open.substack.com/pub/webdev…
15
Maintaining duplicate code is tough. We all try to follow DRY where applicable. But what if the "copies" aren't identical? Depending on the use case, an interface could be the answer. open.substack.com/pub/webdev…
15
Programming to an interface can mean fewer code changes are needed if requirements change. open.substack.com/pub/webdev…
10
'Coding to an interface' is one of the principles in programming. Find out why it’s a good idea in this introduction. open.substack.com/pub/webdev…
11
Ever wondered what unit test coverage is? The latest edition of my newsletter gives an overview and tips on how to get started in C# for free. open.substack.com/pub/webdev…
9
By using factory methods to create subjects in unit tests, you can balance tidiness with functionality, writing code for custom dependencies only in tests that need them.
1
19