Are you going to be buying a new graphics card too, or do you already have one you will be using?
What about your power supply? This is the #1 thing that gets overlooked AND is the #1 thing that tends to slowly take out motherboard components like capacitors, onboard controllers, drives and PCIe or USB circuits. Ripple/electrical noise on cheap units, even mediocre ones, is a slow, but much faster than should be expected, death to motherboards and sometimes drives and graphics cards.
Most people never even know it because so long as it "seems" to be working fine they never give it a second though but excessive ripple due to poor component selection and poor filtering in the power supply tends to spell early death from fluctuating voltage beyond what the motherboard can easily handle, especially if its not a very good board with it's own very good power delivery, phases and filtering, and from ripple that overheats the caps and creates a variety of other issues.
If you don't have a somewhat recent, high quality PSU, I'd put that at the top of the list, even before anything else. Doesn't matter if you have a 200 dollar motherboard, 400 dollar CPU, 1000 dollars worth of drives and a (Normally, not currently) 800 dollar graphics card, if you have a PSU that starts killing them from the moment it's connected.
The i5-8400 is good for gaming, middle of the pack productivity and general use, but it wouldn't be my first choice due to it's low base clock speed. It will certainly work, and do the job well enough compared to past generations.
If it were ME, which of course it is not, I'd definitely be looking at the i7-8700 or 8700k, with it's additional six threads beyond the i5's six cores. They hyperthreading makes a HUGE difference in the real world. You have to really consider that lab test configurations rarely if ever have much else installed on the OS aside from the software being tested. That is not realistic when compared to what YOU or I would have on our systems.
Various other programs have resident processes that unless disabled or set to manual or trigger start configurations will run in the background or have some kind of memory presence, also, if you tend to multitask, running several high end applications at the same time like Solidworks, Photoshop, Lightroom and Illustrator, as I do on occasion, those additional hyperthreads may not make that primary application you are using any faster than it would optimally run but it WILL help to not slow them down when other things are running alongside them. Extra memory will help with that as well.
Plus, if you work with fairly large images or projects, 16GB can get chewed up fairly fast. I always recommend getting the amount of RAM you need NOW, when you do the build, and using the fewest number of modules you can use, in a matched set that has been factory tested and certified to run together in multiple channel modes, rather than part of the amount now with the intention to add more later. The simple fact is, and this issue has somewhat increased with the introduction of DDR4 coupled to the fact that there is a clear shortage of ICs from the three major memory chip manufacturers, SK Hynix, Micron and Samsung, that has caused memory manufacturers like G.Skill, Corsair, Kingston, Mushkin, GeiL and Patriot to use whatever is currently available in lots, except on the very highest end modules, which generally use Samsung B-die ICs (chips).
That means, and this is demonstrable, that if you buy a memory kit today, say 16GB since that's what we're looking at here, and then buy another identical kit next year, or in six months, or next Tuesday, you may NOT get a set of sticks that are exactly the same as what you originally bought. They may have different ICs from a different manufacturer, they may have a different number of ICs, or they may even have major differences like being dual versus single sided configurations. I recently found three different configurations, all using the same part number from the same company.
Case in point:
http
/www.tomshardware.com/answers/id-3610013/amd-ram-compatibility.html#20562100
And what THAT means, is that the kit you by today stands a good chance of either not working in dual/triple/quad channel operation (Depending on what your specific board supports and your configuration based on the number of sticks) but also of not working together AT ALL.
This is not an every case scenario, obviously, but currently I'd say that about 30% of sticks with similar specifications will not run together. That is just my own guess based on what I've seen here and in actual personal experience with the 35 or so systems I've built over the last couple of years since DDR4 was released, and not any actual industry proven spec, but I think compatibility is a much bigger factor than it was in the days of DDR3, not counting the incompatibility problems we saw when memory transitioned from low to high density products.
It's definitely worth considering if you do not want the potential issue of a headache later in the even there are changes or even if there are not, to the model you purchase. Even the same modules, with everything the same, same chips, same latency, same voltage, same sided, everything the same, may not run together or may not run well together, if they came from different production runs and were not pre-tested together.
On the other hand, a lot of people have had success running modules that are not even remotely similar in some regards, without issue. Much depends on the platform and motherboard as well as if you are willing to overclock in order to achieve the modules rated speed. Everything over 2133/2400mhz is considered an overclock when it comes to DDR4 memory. Those are the default SPD settings for practically every DDR4 memory module that exists or that I've seen, and most are 2133mhz. Everything above that requires setting the XMP profile or configuring the settings manually. That's ok with modules that are from a matched set, but disparate modules might encounter further issues when trying to use them at higher speeds, especially if the CPU is not overclocked as well since the memory controllers are in the CPU these days and not on the motherboard as in the distant past.
These are all just things to consider. Sometimes a teaspoon of preparation can equal avoiding a truckload of troubles later when it comes to PC hardware.
I have no qualms about using Ryzen either. I have two clients that preferred to go with AMD for their Solidworks/AutoCAD/TurboCAD machines and so far I've not heard any problems with those systems at all. Both went with Ryzen 7 1800x systems and 32GB of RAM with Quadro cards. So that's an option too.
Much I guess depends on what level, hobby, semi-professional, part time professional or full time professional, you are working at. The system that a 24/7 systems engineer or architect on a large scale project needs will of course not be the same as somebody who is doing basic 3D modeling or creating templates for small 3D printer projects needs. For a primarily photography focused business I'd think the demands might be substantially lower however I am not a professional photographer and do not do what they likely do even though I do work with images and photos quite often as well as doing a lot of graphical web design in various applications.
Sorry, that was MUCH more long winded that I intended it to be.