Filter
Exclude
Time range
-
Near
28 Jul 2024
New Post: @ExtensionMethod Annotation in Lombok buff.ly/4cZXPWt

8
24
3,209
27 Mar 2023
Replying to @Kory__3
そんなあなたに lombok 🍥ExtensionMethod projectlombok.org/features/e…

1
1
2
259
LombokのExtensionMethod、昔はIntelliJとの相性が悪すぎてソースが真っ赤になる (コンパイルは通る) のが嫌で使ってなかったけど、最近は少しはマシになったのだろうか。
2
lombokのExtensionMethodが一番面白そうな機能なんだけど、これ拡張メソッドはstaticメソッドとしてしか定義出来ないんだな 流石に型クラスを完全にエミュレートは出来ないか
2
File a bug against projectlombok/lombok for the apparent lack of `@ExtensionMethod` support for interfaces github.com/VirtusLab/git-mac… #github #Java #Shell #Kotlin #Scala #JavaScript #Dockerfile #Lex #HTML

1
C# has extension methods, a clear way of "extending" an existing class. However, in JavaScript, to achieve the same thing, we land up modifying function's prototype. Is there a better way in JavaScript? #javascript #csharp #extensionmethod
1
10
I have created an ForEachRef() extensionmethod for List<T>. It avoids the copy of the ValueType in the Action. It can for instance be used to mutate a ValueType inside the ForEach using an Action. It uses the CollectionsMarshal.AsSpan() and a Ref foreach. #dotnet #csharp
1
7
If you're in charge of an Open Source project and use Lombok, please, don't use the "@ExtensionMethod" feature. It makes reading the code harder and navigating through the sources impossible.
1
4
28 Oct 2021
??「ExtensionMethodやWithがあるからそもそも脱Lombokする気ないですよね?」 ぼく「……はい」
2
I'll be always grateful to @aalmiray for making me understand groovy (and many other things).
4
I’ll have to stop you right there. I’ve tried it before. It’s not for me.
1
2
If you don't know @kotlin at the moment you might want your world to be rocked by it 😉 Greatest move I've made in my professional programming career was switch over to it from Java for backend development.
1
3
2 Aug 2021
Java標準にExtensionMethodほしい
2
4
2 Aug 2021
LombokのExtensionMethod使えば List<Foo> list = collection.collect(filtering(condition, toList())); ぐらいまでにはできる。
2
11 Dec 2020
Extensionmethod it GetValueOrDefault()
1
7
31 Aug 2020
RxDartのCombineLatestはclassだけど、package;stream_transformのほうはextensionMethodなので、すこしシュッと書けるのが良いな。 github.com/dart-lang/stream_…

1
The Dart language is adding a new feature, extension methods, which allows you to (pretend to) add new members to existing types. An extension method can be invoked just like a normal method extensionMethod, even though it really is just a static function.
1
2
It’s a rainy, catnap kind of day. Don’t let that stop you from being physically active. I just finished a superb #ExtensionMethod class via Instagram with Jenn & friends. Someone even woke up from his nap and joined me on the floor. #GetActive #StayActive #StayAtHomeChallenge
2