9,144 reputation
11636
bio website
location
age
visits member for 2 years, 6 months
seen 7 hours ago

At day I am an ABAP developer working in civil service.

At night I am a game developer experimenting with all kinds of different technologies.


2d
comment How do I design a Javascript Object to not use any public properties?
I don't think it is possible to have private variables without a constructor, because private variables need to be declared inside the scope of the constructor.
2d
answered How do I design a Javascript Object to not use any public properties?
Apr
23
answered File system concept
Apr
21
comment Do legal names matter with source code licensing in the USA?
How to deal with copyright and anonymous contributors would be a good topic for the new proposal Open Source Stackexchange which still needs people to go into beta.
Apr
21
comment I want a trivial example of where MongoDB can scale but a relational database will have trouble
@Doval I am pretty sure those people at Amazon who manage the product catalogues are not certified database administrators. They would be quite overqualified for such a simple job.
Apr
21
comment I want a trivial example of where MongoDB can scale but a relational database will have trouble
@Doval Sorry, I meant table, not column. Adding a new table is just as critical as adding a column and should be done by an administrator and not automatically.
Apr
21
comment I want a trivial example of where MongoDB can scale but a relational database will have trouble
@Doval That turns ugly when you want to add new product types. It will require to add a new database table which means it needs to be done by a database administrator and can't be done by a normal user.
Apr
19
comment Are there any impediment in the Apache License 2.0 to sell software?
When you have more questions about the Apache license, you might want to commit to the proposal for Open Source Stackexchange.
Apr
18
comment AI in programming
We already got a question about phenotropic program design. Intentional Programming doesn't have much to do with AI, so when you want to learn more about AI, this might be a red herring. The rest of your question is extremely vague and broad.
Apr
18
revised Choosing a software license that requires written permission to use commercially
This is not open source
Apr
12
comment Software piracy and GPL
@gnasher729 I don't think that this is correct. When you are the sole copyright holder you should be allowed sell it for any price to any conditions you want. When you are not you only have the GPL which doesn't give you another choice than licensing it under GPL. I think we should explore this in form of a proper question when Open Source Stackexchange goes into beta.
Apr
12
comment “One of some”-type
An empty interface which serves no purpose but type identification is usually referred to as a "marker interface".
Apr
11
comment Why does Java (and other langs too) have seemingly redundant functions like “str.startsWith(String str, int fromOffset)”?
@RobertHarvey It wraps the map into a decorator which makes the map thread-safe. The result is functionally identical to the class Hashtable.
Apr
11
comment Why does Java (and other langs too) have seemingly redundant functions like “str.startsWith(String str, int fromOffset)”?
@RobertHarvey No, Hashtable is used when thread safety is required. When you don't need thread safety, you use a HashMap.
Apr
11
comment Why does Java (and other langs too) have seemingly redundant functions like “str.startsWith(String str, int fromOffset)”?
an example for a class in the Java standard library which was made redundant by a later addition is Hashtable vs. Collections.synchronizedMap.
Apr
11
comment Why does Java (and other langs too) have seemingly redundant functions like “str.startsWith(String str, int fromOffset)”?
A 4th reason might be historical. They added startsWith first, realized that it doesn't cover all use-cases, and then added substring in a later version which can do the same and more, but they couldn't remove startsWith because it would break backward compatibility.
Apr
11
comment Software piracy and GPL
@gnasher729 I would like to know how this makes a difference in practice, but I think this goes too deep for programmers.se. I think I will ask a question about this on open source stackexchange when it goes into beta. Maybe you would like to commit to it so you can answer it then?
Apr
10
comment How to make variables inherent to an object or system
I am not entirely sure what you mean. Could you add an example to your question?
Apr
10
revised Software piracy and GPL
added 340 characters in body
Apr
10
revised Software piracy and GPL
added 128 characters in body