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

3m
comment How can you build an effective team in a hot desk workplace
@RobertHarvey "hot desk" is another word for "flex work", one of those office environments where everyone is given a cellphone, a laptop, and a document bag, and there are no fixed project offices or assigned desks anywhere. Workable for people who don't need frequent face to face contact with coworkers, useless for people who do, yet organisations implementing it rarely consider that project groups have a requirement for a fixed space.
1h
comment How can you build an effective team in a hot desk workplace
escalate the need for a dedicated room for the team to people who can overrule the crazy "flexible office" policy.
19h
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.
19h
comment Can I legally create and use similar icons to ones exist in another software
That too would depend on jurisdiction. What's considered "fair use" or whatever the local equivalent in one place may not be such in another. But in general, you want to avoid things that look enough like those in another system that people might confuse your system for the other.
1d
answered Using private vs company devices for development at work
1d
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#?
Aug
19
comment Is it okay to return the “wrong” HTTP status code in order to show a more user-friendly error page?
yes, it's paranoid. Comes from working at places like banks, stock exchanges, and government agencies for nearly 20 years.
Aug
18
comment Is it okay to return the “wrong” HTTP status code in order to show a more user-friendly error page?
a 404 or 403 are also extremely useful tools for the person running automated intrusion probes, and for that reason you may not want to issue them. Issue your own pages instead, with a 200 series (or a 300 series at worst) code. The smarter intruder might notice and write his tools to detect them, but most are script kiddies who don't know how to modify their tools they downloaded from some p2p network.
Aug
18
comment Is there a need to keep tests for simple (self-contained) functions?
@Deduplicator we know that, but a lot of especially freshly university trained junior programmers are extremely zealous about blindly following mantras. And "magic numbers are evil" is one of those. Another is "anything used more than once must be refactored into a method" leading in extreme cases to a plethora of methods containing but a single statement (and then they wonder why performance suddenly dropped, they never learned about callstacks).
Aug
18
reviewed Leave Closed Meaningful names in weakly typed language like JS
Aug
18
reviewed Leave Closed How to promote code review as an employee?
Aug
18
comment An anti-piracy technique that locks software to a specific computer?
But you didn't reword the question itself. Sneaky...
Aug
17
comment Purpose of encrypted product ID/key in shopping carts
and what makes you assume that product IDs are supposed to be numeric?
Aug
11
comment Why not just make non-parameterized queries return an error?
and how would the RDBMS detect whether to do this? It would overnight make it impossible to access the RDBMS using an interactive SQL prompt... You'd no longer be able to enter DDL or DML commands using any tool at all.
Aug
7
awarded  Nice Answer
Aug
7
answered How can I manage trash users?
Aug
7
comment How can I manage trash users?
"a court/law really, really urgently tell them to," and even then they often don't, just make the data inaccessible to the end users while retaining it for their own use...
Aug
6
reviewed No Action Needed What is the actual value of a consistent code style
Aug
6
reviewed Leave Closed Should updating to a newer library be done incrementally or in one big leap?