At present, some C # gui,php development, and occasionally interested in studying Metasploit, why this framework chose to use Ruby development, compared to the Python syntax format is indeed more elegant.
Reply content:
Thank you for your invitation. You're asking the right person.
In fact, Metasploit's official website has already answered: [Framework] Why the framework uses Ruby instead of Perl?
A brief summary of the following reasons:
1. Developers of Metasploit like Ruby. This idea is expressed in several places in the article. For example, they hate Python's indentation syntax (this is similar to mine)
2. The powerful meta-programming capabilities of Ruby itself are well suited to the features Metasploit to implement.
3. For other reasons, read the article specifically.
In fact, I think the most important reason is because Metasploit developers like Ruby, and other reasons simply explain why they like Ruby. Because this group of people simply like Ruby.
Mom, Egg! Python is the best language in the world. Haha, because I want to play with Ruby freely, and they are persuaded. Ruby has a more uniform class library?