1,315 reputation
410
bio website
location
age
visits member for 2 years, 9 months
seen Nov 7 at 9:18

Mobile Application Developer

Android, Bada, Blackberry, iOS, J2ME
Games and enterprise applications


Sep
24
awarded  Autobiographer
Jul
18
awarded  Nice Answer
Apr
30
comment alternatives to nested try-catches for fallbacks
In this context, method would be a better word than function.
Feb
26
awarded  Yearling
Feb
18
comment Private apps for iOS and Android
Google - developer.apple.com/programs/volume/b2b
Feb
18
answered Private apps for iOS and Android
Jan
26
awarded  Nice Answer
Jan
5
comment Two months in my new job, still having trouble learning a new codebase. How can I improve?
To "Purpose" I would add "terminology". Very important to know what a thing means because classes/methods usually use the same terms.
Dec
9
comment Is a senior programmers advice about always using books a good idea?
Reading - I haven't read a programming book in several years and I don't think I am mediocre. Everybody learns differently and there are other learning sources besides books. And good programming books for advanced programmers are rare.
Dec
6
comment Should I write an interface API before an implementation?
In my personal experience - it's good to design the architecture first - the responsibility of each class. You don't have to write it down, just think about it or sketch it on a paper. Then it's about personal preference but I recommend to write doc comments first for every method you start to implement. Writing docs really makes you to think about the functionality before you start writing code.
Nov
26
comment Should a class know about its subclasses?
No, no and no. This is not useful and never a good solution.
Nov
6
comment How would you know if you've written readable and easily maintainable code?
Of course, there are also style guidelines and some metrics that are very helpful to keep readable code, e.g. cyclomatic complexity.
Oct
15
comment Is garbage collection necessary?
@Ben GC based on reference counting is inefficient only if you have only strong references. ARC is automatic but you have to comply with a lot of rules - break cycles by using weak references, use defined method naming rules (method names starting by "init", "create", "copy" are special). Basically, the programmer needs to decide who owns an object. And it's pretty efficient. Don't mix it with a reference-counting based GC. With ARC the runtime doesn't search object graph for unused objects.
Jul
31
answered Why does the US government disallow dynamic languages for secure projects?
Jul
29
comment How do I deal with a difficult programmmer joining an open source project?
If the leader is not active, it's a reason to replace him.
Jul
8
comment A client wants us to screen work machines for pornography. Is it possible?
@BartSilverstrim smartphones? We have tablets!
Jun
14
comment Programming as fast as you can touch-type… How to get to that stage?
My first programming teacher at the university told us that most programmers start an application without thinking - they write main and continue from there. He recommended us to start with a pen and paper before writing any line of code. Then the actual code would come much faster.
Jun
13
comment articles in variable names and hard-coding strings
@BartvanIngenSchenau I saw that various times and in general I consider it a very poor convention. It is better to add a letter (e.g. p as parameter) or an underscore for parameters because using articles in parameters doesn't make sense (you would actually also have to add an). Using such things for globals/class statics is terrible.
Jun
7
comment Reason for placing function type and method name on different lines in C
I guess it's also connected to the 80 chars line limit still used and defended by many programmers. If you want to have a 80 chars limit and you want to use descriptive method/function names, you have to make some compromises. Splitting the method header is one of them.
Jun
7
comment Is writing software easier than reading and understanding it from scratch?
@mouviciel Oh, it seems you have never seen a really bad code. Some examples - method/variable names written in obscure foreign languages, mad class inheritance diagrams - try to refactor that! Also, debugger is not very helpful when you are trying to understand a long algorithm which has many repetitions. Reading really bad code is super hard.