139 reputation
114
bio website bmars.net
location
age
visits member for 1 year, 11 months
seen 53 mins ago

Nov
19
awarded  Editor
Nov
19
revised Frequent file system writes in PHP when serializing objects
Change "sterilizing" to "serializing"
Nov
19
suggested suggested edit on Frequent file system writes in PHP when serializing objects
Sep
21
answered Why don't developers make installation automatic on windows?
Aug
2
awarded  Fanatic
Jun
24
comment Is it safe to convert Windows file paths to Unix file paths with a simple replace?
Backslashes are allowed in filenames on Linux, so replacing backslashes in a Linux path could add invalid directories. For example, /foo\\bar isn't equivalent to /foo/bar on Linux.
May
17
comment Why is Java not 'pure' OOP?
I don't think the syntax is what makes it less OO - what matters is the semantics. In Python, for example, you can use numbers as objects without explicitly calling the int() constructor, e.g. (3).__eq__(4) == False. I don't think OO itself necessitates that everything must be explicitly created with constructor syntax.
May
13
comment A license like the LGPL, but compatible with JavaScript
Why do you think users will distribute unmodified versions without giving credit? Open source licenses generally require the copyright notice to be preserved, which includes the attribution. Preventing people from stealing credit and preventing people from distributing unmodified copies are two different things.
May
11
comment Planning poker with visually impaired colleague
I'm not really sure how this relates to programming.
Apr
27
comment Can we take ideas from GPL programs in developing any commercial app
@tgkprog No, there are permissive open source licenses that don't require that. The question is about the GPL though, which is a "viral" license.
Mar
3
comment Best practices to avoid fake profiles?
That would probably stop a lot of humans too who aren't willing to give out their phone number, or don't have mobile phones.
Feb
18
awarded  Teacher
Feb
18
answered 'import module' vs. 'from module import function'
Feb
17
comment Is it possible to create a 2d game for both linux and windows with next to no changes?
@DeadMG I don't think that's worth noting, the question is "is it possible" not "should I do it".
Feb
8
awarded  Commentator
Feb
6
comment Why does the Java collections APIs not have a last method?
@Alb Using negative indexes is more powerful than a last() method, since you can get the nth-to-last element just as easily with get(-2), get(-3), etc. I wouldn't call it a hack.
Feb
4
comment git: having separate folder for development, why?
Are you saying that all source repositories should be private?
Feb
2
comment Is it a bad practice to write shell script with many if-else statment and for loops?
@DocSalvage Doing something every N iterations in a loop isn't an exception, since exceptions are for when the code cannot continue normally. Also, exceptions don't necessarily require OOP.
Feb
2
awarded  Enthusiast
Jan
19
comment Why does Java not do type inference?
@ratchetfreak Could type inference not be added in a backwards-compatible way? Older programs would just be providing more type information than necessary.