Mainly, it depends on the application. Say an application that is made for debian, you decide to install in on another distro. Even though it is guaranteed to work on debian, it may need tweaking on the other OS to work properly.
One thing that does come to mind is application differences between Ubuntu and Mint working with Conky dock bar. It works better with Ubuntu than Mint as the difference between Gnome and Cinnamon desktops. As minor as it is, I have found it to be buggy on Mint where it worked just fine for Ubuntu.
I'm no developer by any means, script kiddie at best as I still learn, but there are those subtle differences that I have come across in my time.
EDIT: As far as distro specific code, I can't think of any, but you can't expect a developer to test each and every distro either and those subtle differences are what makes or breaks some apps.
Filesystem in Userspace (FUSE) - Starting with Android 4.4, Google decided to no longer mount the virtual “sdcard” partition as VFAT. Instead, Google began to use FUSE to emulate FAT32 on the “sdcard” virtual partition. With the sdcard program calling FUSE to emulate FAT-on-sdcard style directory permissions, applications could begin accessing its data stored on external storage without requiring any permissions.
Since you have a 256Gb sd, you can use fat32 or ext(2-4) depending on what you choice is. FAT32 partitions up to 2TB, anything bigger than that you would need GPT. Personally, if I am using anything below 2TB, I just use ext4 as it is compatible with most everything. Again, that is personal choice.
Mainly, it depends on the application. Say an application that is made for debian, you decide to install in on another distro. Even though it is guaranteed to work on debian, it may need tweaking on the other OS to work properly.
But then people can't play hackerman if they just format. 😂 Got to make it look cool for the internet.
One thing that does come to mind is application differences between Ubuntu and Mint working with Conky dock bar. It works better with Ubuntu than Mint as the difference between Gnome and Cinnamon desktops. As minor as it is, I have found it to be buggy on Mint where it worked just fine for Ubuntu.
I'm no developer by any means, script kiddie at best as I still learn, but there are those subtle differences that I have come across in my time.
EDIT: As far as distro specific code, I can't think of any, but you can't expect a developer to test each and every distro either and those subtle differences are what makes or breaks some apps.
Edit: Spelling/Grammar
Link to information: https://www.xda-developers.com/diving-into-sdcardfs-how-googles-fuse-replacement-will-reduce-io-overhead/
Filesystem in Userspace (FUSE) - Starting with Android 4.4, Google decided to no longer mount the virtual “sdcard” partition as VFAT. Instead, Google began to use FUSE to emulate FAT32 on the “sdcard” virtual partition. With the sdcard program calling FUSE to emulate FAT-on-sdcard style directory permissions, applications could begin accessing its data stored on external storage without requiring any permissions.
Since you have a 256Gb sd, you can use fat32 or ext(2-4) depending on what you choice is. FAT32 partitions up to 2TB, anything bigger than that you would need GPT. Personally, if I am using anything below 2TB, I just use ext4 as it is compatible with most everything. Again, that is personal choice.
You're welcome. Glad to help out.