Thanks for the great introduction to the Spring Expression Language, Josh!
@Anbu_Sampath8 ай бұрын
Spring Expression Language - lesser known feature of Spring. Good to see video on it.
@郑鈊8 ай бұрын
There should be more introduction to make him known to people.
@ansismaleckis12968 ай бұрын
Good luck debugging/fixing/improving such a code written by somebody else! Also, I don't see how this is actually useful. I feel that any gains that you make short term by writing code with Spring Expression Language gonna cost you (or somebody else) very dearly long term when you have to maintain that s**t. I just dont see what do you gain by using Spring Expression language and what are the scenarios where it shines. Perhaps I am just stupid.
@mikebonney14628 ай бұрын
This is the truth right here. I don’t know why the guy who owned the app before me chose to horse around with this nonsense but he’s long gone, there is a bug and everyone is staring at me to fix it asap.
@Piontek.k6 ай бұрын
Thank you! I also see it as complete BS, making the code absolutely unmaintainable, with absolute zero benefits.
@HandyAndyG8 ай бұрын
Abuse of the var keyword everywhere. Why use "var" instead of "int". You lose more than you gain.
@zombi10348 ай бұрын
You code without an IDE, don’t you?
@HandyAndyG8 ай бұрын
@@zombi1034 No, I simply end up being surrounded by people who have no idea how to write readable code or name their variables properly. I bet you think it is clear what type of variable "data" is in this example and think that your IDE helps you read this type of mess ==> var data = myStream.filter(v -> v.isValid()).map(v -> v.getValue()).map(ValueAccessor::extractValues).toList();
@ajs97218 ай бұрын
@zombi1034 No, coding is done by Josh, and he is excellent at it, using Intellij Ultimate, again excellent IDE. The point that @HandyAndyG made is that 'var' keyword is being overused, especially when your Types aren't excessively long, and when the context doesn't provide a direct indication of the type. Valid point.
@zombi10348 ай бұрын
@@ajs9721 I mean we can argue if var should be used for ints, ok. But still, you are not losing anything because if the type really is not obviously clear from the context, using an IDE you can simply place your cursor above the variable and you will see the type.
@ajs97218 ай бұрын
@@zombi1034 No we aren't arguing at all, and I see your point there. It's just at times when one doesn't have control of IDE, like in this case, Josh has it. Or, when reviewing PRs in the browser, or similar situation. Rest is you do you.