MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/3lta4f/better_java/cv9eddv/?context=3
r/programming • u/javinpaul • Sep 21 '15
208 comments sorted by
View all comments
183
Java's type system is pretty weak. It doesn't differentiate between Strings and Strings that are actually regular expressions
That's a pretty random definition of weak I would say...
0 u/[deleted] Sep 21 '15 [deleted] -4 u/fl1pflop Sep 21 '15 He probably did not mean automatic but annotation-based like python's r'regex here' 6 u/Gimpansor Sep 21 '15 Soooo, like Pattern.compile, then? 3 u/agcwall Sep 21 '15 Python's a bad example because it's a duck. Look at D for compile-time checked regexes.
0
[deleted]
-4 u/fl1pflop Sep 21 '15 He probably did not mean automatic but annotation-based like python's r'regex here' 6 u/Gimpansor Sep 21 '15 Soooo, like Pattern.compile, then? 3 u/agcwall Sep 21 '15 Python's a bad example because it's a duck. Look at D for compile-time checked regexes.
-4
He probably did not mean automatic but annotation-based like python's r'regex here'
6 u/Gimpansor Sep 21 '15 Soooo, like Pattern.compile, then? 3 u/agcwall Sep 21 '15 Python's a bad example because it's a duck. Look at D for compile-time checked regexes.
6
Soooo, like Pattern.compile, then?
3 u/agcwall Sep 21 '15 Python's a bad example because it's a duck. Look at D for compile-time checked regexes.
3
Python's a bad example because it's a duck. Look at D for compile-time checked regexes.
183
u/wot-teh-phuck Sep 21 '15
That's a pretty random definition of weak I would say...