|
Sapozhnik posted:Proleptic Gregorian is actually pretty easy. The rules define three calendar cycles, which are: i use gnu date 5.97 op
|
# ¿ Jun 15, 2017 17:21 |
|
|
# ¿ May 16, 2024 08:34 |
|
vodkat posted:lol im a grad student, no one values my time, not even me is it possible at all to work with the source to fix their bug do they make it obvious they're using something specifically lovely and hand rolled
|
# ¿ Jun 15, 2017 22:12 |
|
Hi, This is the guy using your stuff. It looks like your JSON is not valid according to several known libraries and parsers. Maybe we can work together to fix up your broken poo poo?? What language are you using Love, the grad student with a heart of gold
|
# ¿ Jun 15, 2017 22:14 |
|
Luigi Thirty posted:I don't know what pattern I'm using for this 3D engine but I'm sure it's bad i still dont understand what problem dependency injection or inversion of control or whatever the gently caress spring does is supposed to accomplish this is not for a lack of trying
|
# ¿ Jun 16, 2017 23:10 |
|
raminasi posted:have you really never passed a callback to anything not in java 6/7 Asymmetrikon posted:or attempted to test something that interacts with the outside world heavily we use a separate testing framework outside of whatever spring has made available; isnt that what interfaces or testing environments are for? i both don't understand what problem it is solving (generic objects? not using interfaces?), nor the solution itself (PortletApplicationContext.HelpController1), mainly because I have never had to solve that problem Share Bear fucked around with this message at 22:27 on Jun 20, 2017 |
# ¿ Jun 20, 2017 22:06 |
|
Asymmetrikon posted:all dependency injection is is "passing dependencies through the constructor/properties instead of constructing them inside the object." spring is a lot more than dependency injection, and you don't need a framework to do DI raminasi posted:have you ever done a sort with a custom comparer OK I understand the first part, the second part is "I'm not sure why you would do this versus declaring an interface", because I assume that anything that gets set as a dependency at runtime still has to adhere to an object type or interface I get that it is like a lambda, but the object instance should still expect an interface which is defined, rather than just a function? Or that lambdas also have types and the type would be the object instance and that's it?
|
# ¿ Jun 21, 2017 16:09 |
|
Shaggar posted:w/ spring you can intercept a call to a method on an interface and handle it with whatever code you want. so instead of an object that fully implements an interface, you could have an object for each method in the interface and spring creates a proxy that acts like the interface, but behind the scenes redirects to the object responsible for each method. raminasi posted:there's no "versus declaring an interface," capital letter DI as such relies heavily on interfaces. if a lambda is a single anonymous function, an interface is a named collection of one or more functions. and if you always want to pass the same set of functions in (outside of e.g. a testing environment) you do it at object construction. and if you don't want to do all the boilerplate yourself you do it with a framework. Arcsech posted:dependency injection is just a piece of code that calls all your constructors for you Thank you all very much for your assistance with my very terrible programmer question, it has been extremely helpful for understanding this mess.
|
# ¿ Jun 21, 2017 21:02 |
|
FAT32 SHAMER posted:I was doing some googling and i have googled this phrase many times and never got this
|
# ¿ Jun 22, 2017 17:26 |
|
|
# ¿ May 16, 2024 08:34 |
|
edit: wow a double post in 2017
|
# ¿ Jun 22, 2017 17:27 |