I think hackers call themselves hackers. Linus describes himself as a hacker unless he’s talking to the press. In which case he uses the term programmer as they do not understand the term and it only leads to confusion.
Interesting couple of articles from The Register
[1] https://www.theregister.com/2021/03/03/debate_hackers_for/
[2] https://www.theregister.com/2021/03/09/debate_hacker_result/