caicancai commented on PR #3313:
URL: 
https://github.com/apache/incubator-streampark/pull/3313#issuecomment-1793729607

   > > > > I'm curious if Lazy Val needs to declare variable types, since Scala 
has automatic type inference
   > > 
   > > 
   > > > 
   > > 
   > > 
   > > > The "lazy" here has a literal meaning. In the context of a class, it 
refers to a field that is only initialized when it is actually used.
   > > 
   > > 
   > > Thanks for the reply, I have one more question, about the type display 
of Scala, is it uniform in the SP code? Whether to show or not to show the 
type, in fact, this does not affect any code in the dev, this is just a small 
suggestion of mine @Al-assad
   > 
   > Type declarations in Scala are not mandatory, they are only required if 
you provide the compiler with a type annotation
   
   I might be trying to unify the way streampark is written, but at the moment 
it seems irrelevant


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to