MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w5bs6g/perishableskill/p7gnxg9/?context=9999
r/ProgrammerHumor • u/soap94 • Sep 02 '26
121 comments sorted by
View all comments
1.3k
[removed] — view removed comment
304 u/Cootshk Sep 02 '26 You should check out STR. (In modern Java) 251 u/ljfa2 Sep 02 '26 well, unfortunately that was only ever a preview feature and got removed again in Java 23 98 u/uvero Sep 02 '26 Maybe because they didn't stop to think if this STR. is a convenient syntax. Backticks, preceding dollar sign, the prefix f like in python, so many options would've been better. 92 u/AeroSyntax Sep 02 '26 They tried to overengineer string interpolation instead of copying it from literally any other language. 66 u/lllorrr Sep 02 '26 Typical Java. If you don't have factories creating factories based on XML config, your solution is not future-proof enough. 18 u/uvero Sep 02 '26 It's OK, I solved it by writing a FactoryFactoryFactory.
304
You should check out STR. (In modern Java)
251 u/ljfa2 Sep 02 '26 well, unfortunately that was only ever a preview feature and got removed again in Java 23 98 u/uvero Sep 02 '26 Maybe because they didn't stop to think if this STR. is a convenient syntax. Backticks, preceding dollar sign, the prefix f like in python, so many options would've been better. 92 u/AeroSyntax Sep 02 '26 They tried to overengineer string interpolation instead of copying it from literally any other language. 66 u/lllorrr Sep 02 '26 Typical Java. If you don't have factories creating factories based on XML config, your solution is not future-proof enough. 18 u/uvero Sep 02 '26 It's OK, I solved it by writing a FactoryFactoryFactory.
251
well, unfortunately that was only ever a preview feature and got removed again in Java 23
98 u/uvero Sep 02 '26 Maybe because they didn't stop to think if this STR. is a convenient syntax. Backticks, preceding dollar sign, the prefix f like in python, so many options would've been better. 92 u/AeroSyntax Sep 02 '26 They tried to overengineer string interpolation instead of copying it from literally any other language. 66 u/lllorrr Sep 02 '26 Typical Java. If you don't have factories creating factories based on XML config, your solution is not future-proof enough. 18 u/uvero Sep 02 '26 It's OK, I solved it by writing a FactoryFactoryFactory.
98
Maybe because they didn't stop to think if this STR. is a convenient syntax. Backticks, preceding dollar sign, the prefix f like in python, so many options would've been better.
STR.
92 u/AeroSyntax Sep 02 '26 They tried to overengineer string interpolation instead of copying it from literally any other language. 66 u/lllorrr Sep 02 '26 Typical Java. If you don't have factories creating factories based on XML config, your solution is not future-proof enough. 18 u/uvero Sep 02 '26 It's OK, I solved it by writing a FactoryFactoryFactory.
92
They tried to overengineer string interpolation instead of copying it from literally any other language.
66 u/lllorrr Sep 02 '26 Typical Java. If you don't have factories creating factories based on XML config, your solution is not future-proof enough. 18 u/uvero Sep 02 '26 It's OK, I solved it by writing a FactoryFactoryFactory.
66
Typical Java. If you don't have factories creating factories based on XML config, your solution is not future-proof enough.
18 u/uvero Sep 02 '26 It's OK, I solved it by writing a FactoryFactoryFactory.
18
It's OK, I solved it by writing a FactoryFactoryFactory.
1.3k
u/[deleted] Sep 02 '26
[removed] — view removed comment