There isn't a real answer to this, but I'll give my best try.
Also, these upvotes are given by encouraging and experienced programmers who are happy to see other new programmers join Sololearn. Most of these posts are by inexperienced programmers or people who just joined Sololearn, and these upvotes can be encouraging to those people.
Sometimes, encouragement is needed to promote learning and preventing people from becoming afraid to ask questions in the community or forums.
Yo Sławek J.,
You should consider learning how "Sololearn dynamics" works. Codes that are great won't give you lots of liked always. Sometime you need luck, like Sololearn making that code the COTD, or when a post featuring that code becomes the post of the day.
But nevertheless a lot of codes that have likes are pretty awesome.
I Don't know How they get that many likes but i think its a good thing because for beginners if they see the support and love they got with there first code the will get encouragement and motivation . And thats very important if they want to shape their future with coding..
For Me Honestly My "Hello World" c++ code I wrote on PC was the proudest moment for me and that gave me enough motivation to learn more things and choose coding career 😄😄
*AsterisK* I left the challengers group about a month ago because I was getting too many notifications. But for popularity based badges I didn't use that group as I had already got these badges before I joined the group. The Likestorm 'group' that I got help from was before the time of personal messages and groups and was just a thread in which a group of 10 or 11 guys could just ask each other for a likestorm and you would get 10 votes within a day or two which would easily elevate your question into the Hot Topic category. I no longer have a need to use these.
An excellent code doesn't get a lot of likes automatically.
Sometimes a simple code has tons of likes because it has an emotional side. I.e. an adorable dog pet drew with css clumsily.
Visibility is important too. A code posted in a trendy challenge post at the right time will increase its chances of being liked.
I think if as a developer I am using Solo Learn and posting my codes then definitely I would prefer NOT to use "Hello World" but instead will use "Hi Solo Learn" or "Hello Solo Learn" which sounds quite unique and community specific.
I believe people usually write "Hi Solo Learn" just to make their contents community specify or might be they don't have any other content that sounds community specific.
*AsterisK* remember the Challenge group I was in and you probably still are in? And how people in the group ask others in the group to upvote them? It's a similar thing. Badges like this have got no relationship to one's coding ability.