There is no need to “learn” it. As you’ve noticed, its popularity is declining. Investing a great deal of time in this language will likely yield low returns.
If you need it for work, spend a few hours getting familiar with the basic concepts. After all, you still need to review code generated by AI; otherwise, you will end up fixing all the problematic code produced by AI. Then you can rely on AI to get most of the work done.
