Reputation
7,219
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
1 15 39
Newest
 Nice Answer
Impact
~325k people reached

Jan
11
comment ASP.NET storing encrypted & salted Password
@Alternatex he's asking how to store the password. Whether he should be storing it at all is another question... While I agree that if he has to ask how to store it he's likely better of not storing it at all, it serves no purpose attacking people who're giving correct ways to do just that. Write your own answer explaining why he should not store it and have people read that...
Jan
6
comment How important is it to reduce the number of lines in code?
I have encountered environments where using the ternary operator was expressly forbidden. Usually they were environments in transition from PL/SQL or similar to Java where the people were afraid of tersity... As to your statement that there is no performance impact from writing more code, there may be depending on what the code is. If you replace an operator with a method call for example there definitely is an impact (and it may be a serious impact).
Nov
11
comment Dealing with profanity in source code
@MilesRout "shoot" probably was triggered (yes, another bad word) for being related to guns and thus violence... Trip? who knows
Oct
30
comment Should I use scrum for big projects?
@MichaelT where I work, project teams are agile, but the support infrastructure definitely is not. So we as a team deliver something that can be used every few weeks, but we only have one production deploy every 3-4 months at best which is the state of what's ready for production at that time. Organisation in flux, hopefully. Took them 3 months to get us a test server for example. So we just made do with a laptop as a project internal test server until that time...
Oct
27
comment In Scrum, should developers talk directly to customers (bypassing the PO)?
the goal for all should be to deliver the best possible product under budget and on target. It's only how to do that that's a potential source of discussion.
Oct
27
comment In Scrum, should developers talk directly to customers (bypassing the PO)?
@Giorgio of course, depends on the people involved. But it's what SCRUM (and Agile practices in general) promotes, short lines, rapid decision making. In our case it works because the customer is really enthousiastic and wants the product to succeed, but they're also realistic enough to realise that not everything is possible (certainly not within the budgetary and technical limits we have to work with).
Oct
26
comment Is this a good solution for deactivating key value pairs?
@atamata which is exactly what I mean... Some of those you may never want to update, some you may.
Oct
17
comment Why do we need frameworks for dependency injection?
well said. And why reinvent the wheel when someone else has made one that's nice and round already?
Oct
6
comment In garbage collecting languages (JavaScript), can I securely overwrite data?
@Jules not necessarily. You don't know how the VM handles things internally, it could reassign to the new string and then discard the old (though I doubt that happens, it's not very efficient).
Oct
1
comment Should I stop using the term C/C++?
not only should you stop using the term, you should never have started using it unless in the context of a mixed project where both languages are used side by side.
Sep
26
comment How to sell an application? Licensing problems
windows store app is no option with Delphi 7. It's very very old and can only compile 32 bit and 16 bit Windows applications for Windows 98 and 2000 as the highest platforms (maybe Windows ME as well). It's simply that old...
Sep
4
comment Best way to handle nulls in Java?
but irrelevant to the original question of course. And what's to say the argument is indeed optional?
Sep
4
comment Best way to handle nulls in Java?
@davidk01 null can be a sensible input...
Sep
4
comment Is it okay to return the “wrong” HTTP status code in order to show a more user-friendly error page?
@AndresF. no, we return a proper page rather than a generic error page in case of for example missing credentials. Don't care what http code the end user gets, it's probably a 300 series rather than a 400 series. And any 404 would automatically mean missing credentials as nobody is authorised to see any page he's not explicitly authorised for, including no page at all.
Sep
3
comment What is an accepted method of timestamping in a distributed system?
@MetaFight as an example Java timestamps are accurate to only like 20 milliseconds (depending on the JVM and operating system), hardware clocks can (again depending on hardware and OS) be accurate to within a few microseconds.
Sep
3
comment What is an accepted method of timestamping in a distributed system?
@MetaFight they're likely synchronised to within less than the accuracy of the timestamps your software generates.
Sep
3
comment What is an accepted method of timestamping in a distributed system?
@leylandski then go for 2), ensure through procedures to be followed by your network and systems admins that the clocks are kept in synch.
Aug
27
comment Is Java package level scope useful?
I never do it with methods, but it's a nice feature to use for injected dependencies. For example when testing EJBs, injected EntityManagers can be mocked by setting a package level EM with a Mock object where it'd at runtime be injected by the application server.
Aug
26
comment Using private vs company devices for development at work
"Your employer is generally expected to provide the resources you need for you to do your job. That help enables their claim to own the work that you produce. " Except ever more companies have clauses in their contracts stating that the employee is required to have certain items like a cellphone and a laptop. The company may reimburse the employee for his use of those for work purposes, but often that's assumed to be part of the salary.
Aug
20
comment Is it ok if a method returns a new instance of the class it's in?
@GilbertLeBlanc in Java clone() is defined as a deep copy. Maybe it's the same in C#?