Reputation
14,165
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
2 31 51
Newest
 Enlightened
Impact
~294k people reached

Apr
26
revised Why are floats still part of the Java language when doubles are mostly recommended instead?
deleted 1 character in body
Apr
26
answered Why are floats still part of the Java language when doubles are mostly recommended instead?
Apr
26
awarded  Nice Answer
Apr
26
revised Why does the relational model for a database matter?
added 17 characters in body
Apr
26
comment How to pass data to OOP objects?
@FiveThree Sorry, I haven't noticed that this is C#, not Java. In C# you have delegates to pass around methods. As Magus said, the generics Action and Func from the .NET framework cover most use-cases pretty well, so there is rarely a reason to write your own delegate types.
Apr
26
revised Why does the relational model for a database matter?
added 191 characters in body
Apr
26
answered Why does the relational model for a database matter?
Apr
25
revised How to pass data to OOP objects?
deleted 12 characters in body
Apr
25
comment How to pass data to OOP objects?
@FiveThree Since Java 8 you actually can treat methods like variables and pass them around. But that's really just syntactical sugar for something which was already possible before by having classes which implement an interface with just a single method. So you could also add another HitEffect class which you pass to the factory which then in turn passes it to all projectiles it generates.
Apr
25
revised How to pass data to OOP objects?
added 490 characters in body
Apr
25
answered How to pass data to OOP objects?
Apr
23
comment Does sql use hastables for indexes?
It depends on the database. In MySQL, for example, the storage engines MyISAM and InnoDB use binary tree indexes while NDB and the in-memory engine also allow hashtables. See the documentation for details.
Apr
20
comment Joining binary trees
The naïve solution would be to just traverse the first tree and insert every node into the second tree just as usual. But there is surely a better solution.
Apr
11
answered What separates text files from binary files, considering they are stored in binary?
Apr
9
revised Why would an interface override methods of the interface(s) it extends in Java 7?
Made it more clear that the question is explicitly about an older version of Java.
Apr
8
comment Should registration be required for an application which relies on success based on unique barcode?
@Freddy Now you got it.
Apr
8
comment Should registration be required for an application which relies on success based on unique barcode?
@Freddy the store sends it to the server and the server sends it to the device.
Apr
8
awarded  Nice Answer
Apr
8
comment Should registration be required for an application which relies on success based on unique barcode?
@Freddy This solution will always depend on internet connectivity because you somehow need to get data from POS to cellphone.
Apr
8
comment Should registration be required for an application which relies on success based on unique barcode?
@Freddy Regarding pushing the receipt data: This would be a simple network message over the open network connection. Before you undertake this project you might want to familiarize yourself with the basics of network socket programming.