Skip to main content
Saturn's user avatar
Saturn's user avatar
Saturn's user avatar
Saturn
  • Member for 13 years, 8 months
  • Last seen more than a week ago
144 votes
10 answers
28k views

When is it a good idea to force garbage collection?

50 votes
4 answers
22k views

Why should I use "functional operations" instead of a for loop?

42 votes
6 answers
19k views

How does branch prediction work, if you still have to check for the conditions?

17 votes
2 answers
64k views

Why shouldn't I be using public variables in my Java class? [duplicate]

14 votes
3 answers
5k views

Why can't a compiler avoid importing a header file twice by its own?

13 votes
8 answers
57k views

Can a recursive function have iterations/loops?

8 votes
5 answers
17k views

How to discriminate from two nodes with identical frequencies in a Huffman's tree?

8 votes
2 answers
17k views

How to execute a Ruby file in Java, capable of calling functions from the Java program and receiving primitive-type results?

8 votes
3 answers
839 views

Have there been disputes when software identifies genders with a boolean? [closed]

8 votes
2 answers
3k views

Is there any disadvantage to using Eclipse Collections exclusively?

7 votes
3 answers
5k views

How to create a manager class without global variables nor singletons?

6 votes
3 answers
596 views

Making things just work and then improve them, or attempt to make them "perfect" from the beginning?

6 votes
3 answers
667 views

How is it called when you define constants that simply refer to a large namespace? [closed]

6 votes
3 answers
1k views

How to refactor my design, if it seems to require multiple inheritance?

3 votes
2 answers
240 views

What to do if my own opensource code greatly resembles another project's code?

3 votes
3 answers
11k views

What are the differences between programming languages? [closed]

2 votes
1 answer
573 views

Why create a Huffman tree per character instead of a Node?

2 votes
1 answer
2k views

Does it matter the direction of a Huffman's tree child node?

2 votes
1 answer
886 views

Does it make sense to create a Ruby wrapper to reference a Java object that does exactly the same thing?

2 votes
1 answer
216 views

How do I know when should I package my classes in Ruby?

2 votes
3 answers
684 views

Is the Observer pattern adequate for this kind of scenario?

2 votes
4 answers
686 views

Why do some projects have getters and setters for public instance variables?

1 vote
1 answer
381 views

Ruby using the Gosu framework: why it runs slow first time?

1 vote
3 answers
686 views

Can a process that needs 15 MB run given a machine with 10 MB of physical memory and 10 of virtual?

1 vote
1 answer
129 views

File structure for storing pixels that changed from one image to another

1 vote
1 answer
2k views

How should I compress a file with multiple bytes that are the same with Huffman coding?

0 votes
1 answer
4k views

Puzzle solving: Minimum number of steps to achieve a goal

0 votes
2 answers
682 views

Why do some websites include the "page name" in the URL?

0 votes
1 answer
3k views

Calculating physical address given only an offset for my process

0 votes
1 answer
114 views

Does inserting/removing random characters in a string count as cryptography?