12,745 reputation
34077
bio website
location London, United Kingdom
age 28
visits member for 3 years, 6 months
seen Dec 15 at 14:21

Feb
13
comment What is the benefit of having the assignment operator return a value?
@BЈовић he is writing his own language, he gets to define the standard. It dosent matter what C++ does
Sep
2
comment Which layer does async code belong?
Yes. Its trivial to add a synchronous façade to the asynchronous methods if you want to consume them that way. Obviously though there is a design choice the programmer has to make. Is the use case important enough to warrant the extra complexity.
Apr
2
comment How safe & trustworthy are hosting sites such as sourceforge, github or bitbucket for closed-source projects?
They do gitlab which is basically a self hosted github
Mar
25
comment Is it good practice for Azure applications to self-administrate?
One significant disadvantage of this practise is the time it takes to start. Ensuring the topics/subscriptions exist can add several seconds to the startup time of an application
Mar
11
comment is down-casting always bad?
Only a sith deals in absolutes
Mar
3
comment Best practices to avoid fake profiles?
Also would screw over anyone using a screen reader. Not sure if that's important in your use case.
Mar
3
comment Best practices to avoid fake profiles?
Sure that fools a stupid bot. However any descent hacker could still just look at a working registration and write a bot around that.
Mar
3
comment What are the disadvantages of automated testing?
failed, because your test code has been written for an older version of your product and is no longer compatible - if your tests are breaking because of this then likely your tests are testing implantation details rather than behavior. CalculateHighestNumber v1 should still return the same result as CalculateHighestNumber v2
Feb
20
comment How do you code without offending?
I notice you used past tense. Jumped ship? :)
Feb
5
comment Will Authentication over HTTPS Slow My Application?
Yes generally. There are things you can do to secure cookies (ie encrypt them) but the simpler and more effective route is to secure the whole site. Unless you have a specific use case I would recommend the simplest solution
Feb
4
comment Questions about Polymorphism
Sounds like your check admin level code can either be moved into a separate class or delegate. Its best to keep your classes just doing a single thing (single responsibility principal.)
Jan
29
comment Best practices for unit testing methods that use cache heavily?
+1 this is defiantly the best approach. Unit test to check the logic then integration test to actually verify the cache works as you expect.
Jan
25
comment How do we make unit tests run fast?
Your correct that these seem to be integration tests.
Dec
20
comment What if I forgot to include someone elses copyright info in old commit?
prosecuted >.< sorry, typo
Dec
20
comment What if I forgot to include someone elses copyright info in old commit?
INAL but I think since it currently has copywright on it then you cant get protected.
Aug
30
comment Is scanning the ports considered harmful?
Possibly a better fit for security.stackexchange.com
Aug
21
comment What Are Some Tips For Writing A Large Number of Unit Tests?
Read this amazon.co.uk/Working-Effectively-Legacy-Robert-Martin/dp/…
Aug
17
comment Using replacement to get possible outcomes to then search through HUGE amount of data
Step 1 would be get some good indexes on your database
Jul
28
comment How to avoid typo errors, etc?
It's still very possible to make typos in complied languages.
Jul
24
comment How do I go from “here's the zip” to a good release strategy?
@zxcdw my reading of the question is OP is asking about the best practices of writing production grade software and using CI not about the specifics.