« first day (1494 days earlier)      last day (3433 days later) » 
00:00 - 19:0019:00 - 21:00

7:10 PM
@LeeJeong Do you know the usage of DAO/DTO?
@gem ssup?
 
@ItachiUchiha Well, mostly good stuff. Reading JavaFX code to make my GUI nice
 
@Gemtastic css?
 
I haven't gotten to that part yet, more than -fx-background-colour
but spelled correctly
Not fun to be taught British english when the code is written in american >_>;
 
true
most of the languages are written in american english
 
yup
 
7:23 PM
In school, even I was confused between color and colour
 
I can normally get it right in the IDE but in the chat I sometimes slip in the british spelling :P
In a way, one should write the code in british just to see who tries to steal your code copy-paste style :')
or rather, just to mess with them
 
lolz
only if you could compile it :P
 
Well, it wouldn't compile and that would be the point
 
Pfft. Non native speakers are allowed to switch between the spellings at will. Neither can be considered the right one for us
 
"Dude, your code doesn't work!"
"Oh? And why is that?"
"Uuuh... I jsut copy-pasted it into my IDE and it won't compile..."
@kiheru well for normal chat I agree, but writing colour in code won't change anything ;P
 
7:28 PM
A proper language and IDE will highlight the error immediately. Interpreted junk gets all sorts of bugs due to typos anyway, and different spelling is not special in any way
 
well I don't think we have an javafx css on the go compiler on nay IDE
 
Good night! Anybody can solve me a doubt about dependency injection?
 
@korima shoot
 
@ItachiUchiha Thanks! Well. To my knowledge, we provide to classes the dependencies that uses but...
Oh, I dont know how to explain :S
Do u prefer I put an example?
 
7:32 PM
Ok, I have a class that downloads a rss from internet
His main method receives as parameter the url
Something like, download(String urlRss)
But inside that method I use a Service where I control all download progress
It's something like: NetworkResourceService.download(String urlResource)
Then, in that method I have a new NetworkResourceService()
My question is if is correct that instance or I should pass as parameter to method
 
??????
 
@kiheru Sadly, the copy-pasters don't know how to read the error messages.
 
may be I don't get your question, but I really don't get the DI part
 
Or should I say, luckily?
 
What did you not understand?
Ok, I explain again
I have a class RssChannelDownloader.java that downloads from internet a xml file, parse it, and returns a set of object
Good from here?
With set of objects a mean all news that are inside Rss channel
Correct?
Anybody here?
 
7:43 PM
I'm here but I can't help you
 
@Gemtastic No problem xD
 
(:
 
@korima Hello, what do you want to know?
 
8:03 PM
Silent channel.. wasssup ?
 
@Mr.777 Are you still here?
 
@korima Yes?
 
Ok, it's about something I read in a blog. It talked about dependency injection and said that all "new xxx()" that would have a method, that is symptom of DI
So, I don't know if every cases need to do that
If you want I put an example
 
@korima No, it's alright. You just need to understand what DI actually is
 
@Mr.777 I understand as a class not should create object inside. You must pass as reference, no?
 
8:16 PM
@korima See, it's just a design pattern. So, don't use it where it's not needed. Only use when it's highly needed.
 
@Mr.777 Ok. I think I exaggerated interpretation.
 
@korima Yeah, so let me explain when & when not to use it
 
@Mr.777 Ok, thanks. I listen and save it :)
@Mr.777 It's possible that I can read the message tomorrow on the chat? It's too late and I must go :(
 
Two aspects of DI, First, object's interface should define the service that obj requires and those it provides. Second the code that satisfies requirements of an obj by giving it a reference to the services to collaborators is external to both object & the calloborators.
That is why , the pattern is also used to be called third party binding. Let's say you have designed an app and you know that some of the functionality or implementations will never change, there is no need of using DI at all. opposite is true. Also, like if DI is misunderstood, it can get more harm than usual.
 
00:00 - 19:0019:00 - 21:00

« first day (1494 days earlier)      last day (3433 days later) »