Kudos.
I wish I had done the same. Years ago an old friend got in touch and we started taking about going to see the Corvette museum together. For various reasons I couldn't do the trip any time soon. Not long after he killed himself.
I don't know if going on that trip would've changed anything, but I'm forever left with the doubt. I can't say I will never again, but I don't want to ever let down friends or family again.
If "true" is not a valid answer, what would've been one?
Similar code in C# returns the same. E.g. Console.WriteLine("שלום".ToUpperInvariant()=="שלום") returns true.
Hebrew doesn't have upper and lower case, so the question "is this hebrew character capital" is meaningless. So, the function in question should not return just a boolean value; it should have a way to return a third option. (Whether it's nil, a C-style return code, an exception, an enum or something else is irrelevant here.)
Actually, it just means that if you're wondering "if this word starts with a capital", you're asking a wrong question. Instead, you should be asking "if this word is a valid generic name", or "is this word a start of a new sentence", and implement these semantic queries in a language-specific way.
That's true, but I don't think that sofits should be viewed as capital/not-capital letters: they're not semantically altering the meaning of the word in wider context, like capital letters do.
As an Italian expat myself (now an American expat to Europe), having been in the same situation you are now, I'd like to give you my opinion, based on my experience and life (with all the caveats that those two imply).
It sums up in a few steps:
1. Save some money for at least two months of surviving (not living large.. surviving).
2. Pick a city among London, Edinburgh, or Amsterdam.
Find a cheap place to sleep & eat.
3. Book a ticket.
4. Pack your bag.
5. Move.
6. Apply to any job in your field. Do start with internships or entry level jobs.
7. Get better at the craft.
8. Repeat from step 6, optionally step 2, till you are content.
In short, it's all up to you, so just do it. Seriously.
You are young and in a field wide open. You live in a first world country surrounded by more first world countries. Today is so easy to emigrate that it's ridiculous.
By the way, you'll find out that the grass on the other side is not that green.. but that's something that will take time.
I'd like to add two more controversial opinions:
. It's really hard to be an expat. No matter where you're from and which country you go.
. Forget the USA for now. Is not what it used to be, and this coming from someone who went to the US, and is now an American. Go to England or the Netherlands. Germany is good too!