The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

yagiz (27) [Avatar] Offline
#1
(3.6.2) "...You can create a reference to an existing constructor using its name and the keyword new as follows: Constructor::new..."

Wouldn't it be simpler to name this reference: "Class:new"? This way it would match the generic method reference signature "Class:method".
raoul-gabriel.urma (37) [Avatar] Offline
#2
Re: Method References
Sounds good, I updated to "ClassName::new" (ClassName was used for the previous examples).
Thanks,
Raoul