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
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
Replying to @rogeriotaques
If you're using .NET, you can use Visual Studio to debug remotely; I realise that's not much help if you're on a different stack though.
In any case, glad you got it sorted.
1
1
17
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
Replying to @mjovanovictech
Seems like a good approach to me.
Years ago, I did a side-project designed with unit tests in mind for the first time.
Some components were too small, some tests were a bit silly.
But the experience helped me refine my approach to both.
190
Replying to @catalinmpit
Not quite as extreme as this, but I was once asked to whiteboard how I would redesign a company's system/infrastructure (using any technology available) if given the chance.
484
Replying to @andrewbaisden
Looking good! I love how the street lights turn on in dark mode.
If you don't mind me asking, who do you use for hosting this?
1
10
Replying to @GergelyOrosz
I use a combination of command line and Git Extensions (on Windows).
As for Vim, some people swear by it, some people swear at it :)
wq = write (i.e. save), quit
q! = force quit
11
Replying to @arvidkahl
But what if someone naturally talks with 'unnecessary' words?
Some say remove phrases like 'as a matter of fact' in preference of brevity.
15
Replying to @ThePracticalDev
This is generally true.
But code design skill only counts for so much if product requirements come in bit-by-bit in each sprint/development cycle.
What seemed like the best abstraction at the time may no longer be true with a new requirement.
33
Replying to @ThePracticalDev
Absolutely.
The tricky thing is judging when something _exclusively_ 'is a' something.
This can be difficult when building something new and don't know/haven't planned all the requirements yet.
Arguably, inheriting an interface could mean 'is a' too.
19
Replying to @bohlenlabs
It's missing context for brevity:
Take that woman out (for dinner, etc)
Take that spider out (of the equation)
Another one to add to that list is 'bimonthly'. It's either every two months, or twice a month.
1
8
Diary of a Web Developer: Using Git to Successfully Push a Modified or Rebased Branch webdeveloperdiary.substack.c…
1
58
Replying to @andrewbaisden
Writing tests encourages embracing SOLID and being function focused.
Code will be focused on a single objective, and functions offer a result to assert against.
One more suggestion: code to an interface (where applicable), rather than a concrete implementation.
1
3
Replying to @andrewbaisden
True. But <br> is linked to font size. Depending on the unit, CSS padding may or may not be.
19





