Can Scala and Aspects be used together? Are there any advantages in this case?
thank
Scala is similar to java if you mean, for example, spring -like AOP. I'm sure annotations work either in scala or in java.
On the other hand, the fact that scala has closures (and java doesn't) makes AOP less interesting.
In fact, the Scala IDE for Eclipse uses Aspects (because JDT accepts Java):
From Scala Eclipse Support - Monkey - Fix JDT for Fun and Profit? , p16 by Miles Sabin
AspectJ and the Equinox Aspects
, , . , , Java.
Fakod has some examples for AspectJ here
Real-World Scala: Managing Crossover Issues Using Mixin and AOP
Source: https://habr.com/ru/post/1769664/More articles:Barrier implementation in Java - javaСписок для строки [] - c#Instant Messaging Template Example - objective-cjquery ui slider, stops if certain conditions are met - jquery-uiJava Reflection для установки атрибутов - javaManually activate a theme in wordpress, site unavailable - phpStart-Job Powershell not starting - powershellDynamic casting in Java - javaСтилирование цвета переднего плана и фона в списке Flex/datagrid - flexWhat does your company use to access and map the database? Does it make you happy or sad? - .netAll Articles