483 reputation
210
bio website
location
age
visits member for 2 years, 10 months
seen Mar 23 at 12:34

Hello world,

My name is not Monster Truck II and I was not born in 1920. But here is something about me that I feel comfortable sharing. I studied physics and computer science at college and enjoy reading (history, politics, and economics) and listening to music.

Here is my bookshelf:

https://www.goodreads.com/review/list/20250758-monster?order=a&shelf=non-fiction&sort=position


Jun
14
comment Warn about 3rd party methods that are forbidden
This sounds promising. I am going to try this tomorrow and let you know. Thanks Matt.
Jun
14
awarded  Student
Jun
14
comment Warn about 3rd party methods that are forbidden
@MasonWheeler Sadly, we actually cannot. It is a compiled binary (.dll, .jar) that we use. Plus, there are pitfalls to that approach as we can go off latest, miss out on support (which is very critical to us), etc..
Jun
14
comment C# foreach improvements?
@Jalayn Please post that as an answer. It is one of the best approaches.
Jun
14
comment Warn about 3rd party methods that are forbidden
Yeah. It is a huge library. But even worse, we have lots of such libraries (across C#, Java projects). I am also thinking of a post compilation ant checks.
Jun
14
comment C# foreach improvements?
-1: Bill Wagner in More Effective C# describes why one should always stick to foreach over for (int i = 0…). He has written a couple of pages but I can summarise in two words --compiler optimisation on iteration. Ok that wasn't two words.
Jun
14
asked Warn about 3rd party methods that are forbidden
Jun
10
comment Sharing object between 2 classes
@justin glad I could help.
Jun
10
awarded  Yearling
Jun
10
revised Sharing object between 2 classes
added 39 characters in body
Jun
10
comment Sharing object between 2 classes
@Justin Added two example code stubs that you can re-use. I don't know PHP so there may be a few syntax errors here and there, hope you will recognize them and avoid them.
Jun
10
revised Sharing object between 2 classes
Added code for clarity
Jun
10
revised Sharing object between 2 classes
Added code for clarity
Jun
9
comment Sharing object between 2 classes
It will solve the problem but I won't recommend it though. You should use the singleton pattern only when the design of the object itself mandates that it be singleton.
Jun
9
comment Sharing object between 2 classes
@Justin yes (in essence). Sorry, I am on a mobile device and cannot post code. Will post it shortly when I get to a PC.
Jun
9
answered Sharing object between 2 classes
Jun
9
comment How should my local git workflow work?
@Kos I think it would be best if you post that as a question. I myself would like to know an answer to that question.
Jun
9
revised How should my local git workflow work?
added 1 characters in body
Jun
9
answered How should my local git workflow work?
Jun
9
awarded  Citizen Patrol