Instead of this:
MIT License
Copyright (c) 2018 Firstname Middlename Lastname
Can I do this:
MIT License
Copyright (c) 2018 F. Middlename Lastname
Are there any legal caveats to this practice?
Instead of this:
MIT License
Copyright (c) 2018 Firstname Middlename Lastname
Can I do this:
MIT License
Copyright (c) 2018 F. Middlename Lastname
Are there any legal caveats to this practice?
If that is a way that you identify yourself, it is legal to do so. The primary risk is that this form of abbreviation may prevent someone from accurately determining who owns the copyright causing someone with a similar name to receive a windfall.
You are the copyright holder if you wrote the code, no matter how you write your name. Even if you spell the name wrong, you are still the copyright holder.
The only problem is if this could cause confusion about who the copyright holder is. But it is quite unlikely that someone else named "F. Middlename Lastname" would try to steal your copyright (and not one of the gazillion people with different names).