13,728 reputation
22555
bio website
location
age
visits member for 3 years, 7 months
seen 18 mins ago

1d
comment Why is close() implemented in InputStream/OutputStream?
it is part of it, the closeable interface is a retro fit
1d
revised Initialize in Field, Constructor, or Argument
added 706 characters in body
1d
revised Initialize in Field, Constructor, or Argument
rolled back to a previous revision
2d
revised Initialize in Field, Constructor, or Argument
deleted 3 characters in body
2d
revised Initialize in Field, Constructor, or Argument
added 18 characters in body
2d
answered Initialize in Field, Constructor, or Argument
2d
comment Where do programmers look for reference/documentation about Java's features/libraries/functions?
I'll just leave this here: docs.oracle.com/javase/7/docs/api also there is a downloadable format for offline access
2d
revised Shared & exclusive locking
added 862 characters in body
2d
answered Shared & exclusive locking
2d
awarded  Nice Answer
Dec
18
answered Test Driven Development when the specifications change
Dec
17
comment How to keep legal rights when hired to make a program
it depends on the contract you sign, read it through and probably get some help from a lawyer that knows about such things
Dec
17
comment Input data type conflict causing infinite loop
reading the help center is a good start: programmers.stackexchange.com/help/on-topic
Dec
17
comment Input data type conflict causing infinite loop
This question appears to be off-topic because it is about debugging a program.
Dec
17
comment What is a good word for the current “state” of a state machine?
State state = State.START_STATE;
Dec
17
comment Notepad++ is making my .html.erb files highlighted odd colors
it's the default background highlighting check settings->style configurator and select ruby then adjust as you please
Dec
13
comment std::memory_order_relaxed modification order consistency
it's meant for initialization of a group of atomic ints so only 1 fence gets produced
Dec
13
comment What's the purpose of keeping a changelog if everyone uses their VCS properly?
People use changelogs, though you can often generate them from commit messages
Dec
13
comment Is it possible to quickly change an array declared on the stack to one declared on the heap
you'll need to delete it later as well
Dec
13
comment Permutting a list of numbers in order to get a list which satisfies given condition
Because they are the ones closest to all the others, putting them at the ends eliminates one distance from each of them. your method can be improved simply by putting the last number you add to the beginning.