MainMa

France

pelicandd.com

Age: 27

Freelance developer for the last six years, I'm specializing myself in quality and productivity for the last two years. I spent the last year working in a Dilbertesque company, watching people doing everything they can to make projects fail.

For a long time, I worked with Microsoft technologies, but recently started to build Linux-based DevOps infrastructure—an excellent way to learn lots of new things.

I'm mostly active on Programmers.SE, but try to participate on other sites as well.

Do you want to:

Feel free to contact me by email at arseni.mourzenko@gmail.com.

2h
revised I made improvements to free code I found online and notified the author. Was this the right thing to do?
added 38 characters in body
3h
comment Is it correct to talk about your previous job online?
"I didn't mention any "secret" from the company": luckily for you. Note that telling something like "this company sucks because they don't use automated testing" would be revealing a secret, since an outsider (such as a potential customer) is not supposed to know that.
4h
revised Is this a candidate for Singleton?
added 897 characters in body
4h
comment Is this a candidate for Singleton?
You can mix DI and Singleton, but what's the point? The benefit of a rightly used Singleton is to make it possible to use it anywhere without passing the instance through the parameters.
4h
comment Is this a candidate for Singleton?
@user144171: "but singleton would at least ensure that only one instance exists": the point is that in the second example in my answer, there is one instance created in one place. With dependency injection, called classes receive the instance in a parameter and won't have an insensitive to create their own instances.
5h
comment How do you deal with clients asking for manual data edits in the database?
possible duplicate of Safely fixing production database data
5h
revised Is this a candidate for Singleton?
added 2347 characters in body
6h
comment Is this a candidate for Singleton?
Not at all. Create the instance of the Thermometer class when the application starts and use dependency injection to pass this instance to the parts of the application which need it.
6h
revised Have I created a Big Ball of Mud?
added 44 characters in body
6h
comment Is this a candidate for Singleton?
At least the fact that you may have to mock the thermometer for the tests makes it a bad candidate for being a singleton.
6h
answered Is this a candidate for Singleton?
6h
revised Is it correct to talk about your previous job online?
added 1623 characters in body
6h
answered Is it correct to talk about your previous job online?
18h
comment Combining 3rd party javascript libraries with my code, then using Closure Compiler
You keep the licenses where they are in the original code. Then, you concatenate them, meaning that you'll end up with license 1, code 1, license 2, code 2, ... license n, code n, your own code.
19h
comment Combining 3rd party javascript libraries with my code, then using Closure Compiler
There is a way to do it: use @preserve.
19h
revised Combining 3rd party javascript libraries with my code, then using Closure Compiler
added 435 characters in body
19h
answered Combining 3rd party javascript libraries with my code, then using Closure Compiler
23h
revised How does one store a website's holding/maintenance page in Git?
added 955 characters in body
23h
answered How does one store a website's holding/maintenance page in Git?
1d
comment Is too much whitespace a bad thing?
I'm not sure the illustration you gave is relevant: the current method should have been split into at least five methods a long time ago.
1 2 3 4 5