Re: My problem in C

@118 my reply wasn't a criticism of what you said in your post. as I state in the post, I just wanted to present how other languages on the JVM have been developed to fix the sort of problems you listed with Java, using Scala as an example.

the only two corrections I put in is that I pointed out that mix ins are actually possible in Java since 1.8 and I also showed how to sort a list using a lambda in Java.

edit: I also forgot to mention that not being able to capture a mutable variable in a lambda in Java is not a problem in practise, since you can capture a mutable box that you declared final, like a AtomicReference<V> or another box from java.util.concurrent.atomic. then inside the lambda you can mutate the contents of the box by using one of the methods and the change can be observed in the outer context.

-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : Dark Eagle via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Dragonlee via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Dragonlee via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Dragonlee via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Dragonlee via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Dark Eagle via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Dragonlee via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Dragonlee via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Dark Eagle via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Dark Eagle via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector

Reply via email to