Another search that I have noticed that has been passed to my site was "perl c# comparison", I would assume that the person that asked this was trying to compare the languages and not how c# and perl perform comparisons.My take on this would be that I don't really think that the two are even slightly similar in sytanx, semantics or even intended use. The only thing that I have found in common is the use of the ";" to signify the end of the line.
- C# has a very strict and highly developed Framework that can be used from the start, Perl has lots of modules that you have to install, by default though you would do everything yourself.
- The semantics in C# are stricter, that is you can may tend to do things in one way, other people would tend to do it the same way too. In Perl at least it seems to me that you can do everything many many ways, which a lot of people like because one person doesn't code the same as another; it is not forced on you.
- Perl has Regex's built in to the language, in C# Regex's are an object that you construct etc.
About Me: Paul Kinlan
I lead the Chrome Developer Relations team at Google.
We want people to have the best experience possible on the web without having to install a native app or produce content in a walled garden.
Our team tries to make it easier for developers to build on the web by supporting every Chrome release, creating great content to support developers on web.dev, contributing to MDN, helping to improve browser compatibility, and some of the best developer tools like Lighthouse, Workbox, Squoosh to name just a few.