APFS is the new way. Apple File System (APFS) is a proprietary file system for macOS High Sierra and later, iOS 10.3 and later, tvOS 10.2 and later, and watchOS 3.2 and later.
It aims to fix core problems of HFS+ (also called Mac OS Extended), APFS's predecessor on these operating systems. Apple File System is optimized for flash and solid-state drive storage, with a primary focus on encryption.
There have been some reports of turning off TRIM, on third party SSD has drastically improved boot times.
Always have a backup plan in place. It is fine to change TRIM, but, you do not want to be flipping back and forth between TRIM otherwise you subject yourself to data corruption.
TRIM status from terminal:
system_profiler SPSerialATADataType | grep 'TRIM'
modify TRIM, by:
sudo trimforce enable
sudo trimforce disable
How to choose between APFS and Mac OS Extended when formatting a disk for Mac - Apple Support