542 reputation
46
bio website
location
age
visits member for 2 years, 10 months
seen Sep 16 at 13:43

Feb
8
awarded  Yearling
Dec
2
answered Why did Java make package access default?
Oct
23
comment What are the types of dynamically typed languages arrays?
@Esailija Yes, I described what "everything looks the same to the user" means specifically about arrays. It is not necessary to do a straightforward implementation, but author saying "There is no way to do such a thing in C! Except by using a void*" is incorrect. Doing a naive straightforward implementation would be possible in C, would be sufficiently safe and efficient; just not the most efficient.
Oct
23
comment How Microsoft Market DotNet?
@Maru - You can have multiple JREs installed on the same computer and then you can choose which one you use for running a specific application by making a shell script "C:\oldjava\java.exe C:\myapp\myapp.jar" or something like that.
Oct
23
comment What are the types of dynamically typed languages arrays?
Specifically in JavaScript everything is an object, and object means associative array (of objects). Even arrays are implemented like this; an array with four items is simply an associative array with keys "0", "1", "2", "3" and "length". It would not be the most efficient way to do it in C, but it can be done.
Jul
2
comment Starting android Development
Careful, w3schools is full of mistakes, and XML does not depend on HTML or CSS! Yes, you can make Android programs in Java, and then XML is used for writing configuration files. (HTML and CSS are not used.) That is one possible path. Other possible path is essentially to make a web page in HTML + CSS + JavaScript, and use a tool like PhoneGap to create an application containing that web page. There may be other paths. So your choice is: do you prefer Java or HTML + JavaScript? Also, Java is for Android only, PhoneGap also works for iOS.
Jun
12
comment When should I use or not BooleanUtils.isTrue(…) and BooleanUtils.isFalse(…)?
I rather suspect that the colleage is simply a pretentious noob. He probably read or heard once, somewhere, that using "BooleanUtils.isTrue" makes a code better. He either did not understand the explanation behind it, or he forgot it soon afterwards. But he is happy to remember a rule, and now he applies it dogmatically. Give him enough time, and he will learn hundreds of other rules. (Never use "==", always use "equals". Never make subclasses, always encapsulate. Every class must have an interface. Always use design patterns, the more the better. Always/Never use synchronized methods. Etc.)
Jun
12
comment Why is (position < size) such a prevalent pattern in conditionals?
It is probably related to language; we parse "X operator Y" as "X is (operator Y)", like the relation is a trait of X. By asking the comparison, we are asking whether X has a good or bad value (and Y is locally treated as a constant). Asking "pos < array.length" feels like asking: "Is the position okay (smaller than the array length)?" If no, something is wrong about the position; give me another position, and I would be happy to do what you wanted. But nothing is wrong about the array length. Asking "array.length > pos" feels like we should increase the array if it is too short.
May
23
awarded  Necromancer
May
23
answered Should the design take longer than code development?
May
22
revised Are regular expressions a programming language?
added 383 characters in body
May
22
answered Are regular expressions a programming language?
May
21
comment How to explain OOP concepts to a non technical person?
Note: Sometimes "I don't know" is the right answer.
May
21
answered Should a complex unifying class be doing computation?
Apr
24
comment Why does Microsoft have such a bad reputation with the people involved in open source?
@MystereMan : Open Source is analogous to Communism only if people are forced to use it whether they like it or not, and then those who refuse are shot and their relatives are tortured. On the other hand, voluntary sharing existed in various forms for millenia before comrade Lenin was born. Therefore using the term "Communism" for any kind of sharing is completely misleading. (At best, we could say that Communism is a very specific form of sharing. Even then, there is no reason why Open Source should be compared with this specific form, and not with countless others.)
Apr
22
comment Jump into Android or learn Java basics first?
@YannisRizos : C++ has one form of writing for-loops, Java has two. So even a C++ person totally focused on using for-loops should assume they only know 50% of Java. :D
Apr
22
comment What skills does it take to develop an Android app?
There are more ways to develop an Android app. Using Java is one of them. Using JavaScript and PhoneGap would be another. Or using some engine, such as Unity. Each of those choices will have some consequences on what you can do and how quickly you can do it. -- But if you are already good at Java, just learn how to put your Java code in the Android projects, and how to use the mobile-specific events.
Apr
22
comment Power of HTML5?
Of those new APIs, I would guess most people like the Canvas. Ability to draw anything on the web page, using just JavaScript (no applets, no flash). And it's surprisingly fast.
Apr
22
answered Is it possible to reach absolute zero bug state for large scale software?
Apr
12
comment How can I cope with every increasing/changing number of frameworks?
Please read the question, not just the technical words, but also the emotions behind them. Author feels overwhelmed and insecure about his programming carreer in the future. Why? IMHO, because he is focusing on the wrong things. Telling him "don't focus on frameworks" is only half of the answer. The other half is: if not frameworks, then what? What other options are there besides the one he already knows? Don't just tell people what not to do, tell them also what to do instead. That is an advice people can act upon.