is Perl much simpler than Java, if yes, why
is Perl much simpler than Java, if yes, why
Not at all. Perl is very terse and cryptic. Java has long, descriptive naming.
Both were made to make web programming easier.
Java is extremely verbose -- you need to do a LOT of typing to get anything done. Perl has a lot more built in functions to do general-purpose things. How do you reverse an array in Java? I have no idea. In Perl?
@b = reverse @a; # easy! intuitive! simple!
Java's strict typing is nice -- but a good programmer doesn't need the language to enforce that. Perl is loosely typed -- it does what you mean, while Java demands that you do things its way.
I could go on and on but I hope you get the idea.
Java is extremely verbose -- you need to do a LOT of typing to get anything done. Perl has a lot more built in functions to do general-purpose things. How do you reverse an array in Java? I have no idea. In Perl?
@b = reverse @a; # easy! intuitive! simple!
Java's strict typing is nice -- but a good programmer doesn't need the language to enforce that. Perl is loosely typed -- it does what you mean, while Java demands that you do things its way.
I could go on and on but I hope you get the idea.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks