that these are the basis of programming and that he didn't have to advise me about such things.
That sounds like a junior has been given the title of senior! In no way is knowing that a certain library function exists in a particular language "basics of programming". Advising about details is exactly what seniors are to be doing for juniors.
I'm sorry that you've had a bad experience.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
That sounds like a junior has been given the title of senior! In no way is knowing that a certain library function exists in a particular language "basics of programming". Advising about details is exactly what seniors are to be doing for juniors.
I'm sorry that you've had a bad experience.