Are there any strongly-typed programming languages for the Web? I program in PHP now, but often I wish it yelled at me when I tried to compare a number to a string. Functions in the standard library that can return either a bool or an integer don't make anything easier either.
I know there's .NET, but is it my only choice?
C++ is reasonably strongly typed, and the ways in which it has been lenient that have historically caused trouble have been pruned back, such as implicit casts from void* to other pointer types, and finer grained control with explicit casting operators and constructors.
Python is both a strongly typed and a dynamically typed language. Strong typing means that variables do have a type and that the type matters when performing operations on a variable. Dynamic typing means that the type of the variable is determined only during runtime.
JavaScript is considered a “weakly typed” or “untyped” language. The type in question here are the data types—nothing to do with typing from your keyboard.
Strongly Typed Strong typing is seen as a tool to ensure data correctness. C++, Java, and C# all claim to be strongly typed. Ada is more strongly typed than those languages. Unlike C, C++, Java, or C#, Ada does not provide implicit conversions between numeric types.
You can develop Java web-applications. See JSPs.
Java? C++? Any language can be a web language... More details on your requirements would be needed to make a specific recommendation.
Python is a powerful, and popular dynamic strong typed language for web development:
Pylons
Wt is a good C++ web framework
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With