Skip to main content

All Questions

Tagged with
22 votes
6 answers
10k views

Best practices in comment writing and documentation

Commenting nowadays is easier than ever. In Java, there are some nice techniques for linking comments to classes, and Java IDEs are good at making comment shells for you. Languages like Clojure even ...
jayunit100's user avatar
37 votes
9 answers
9k views

Is the algorithm more important than the programming language?

During the current (2013) Google Code Jam contest, there was a problem that took C++ and Java people 200+ lines of code as compared to Python people that solved the same problem only using 40 lines of ...
superspacemarines's user avatar
31 votes
6 answers
28k views

Programming language usage at Google [closed]

I have heard Google uses Python, Java and C++. But what I don't know is how is each of those programming language is used. I mean what is Python, Java and C++ is used for at Google. Why would they ...
Joshua Partogi's user avatar
20 votes
3 answers
19k views

Differences between "Java OOP" and "Pythonic OOP"? [closed]

I started with ActionScript 2.0 and then went on with Java. I have learned, or at least used, a bunch of languages since then, including Python (probably my favorite). I'm afraid that my style of ...
Anto's user avatar
  • 11.2k
12 votes
5 answers
2k views

How is the JVM and Java's WORA different from other high level languages?

In the Java world, we often talk about the JVM, and when Java was new it had the supposedly killer feature of "Write Once, Run Anywhere." From the way people talk and write, this seems different from ...
Eric Wilson's user avatar
  • 12.1k
6 votes
4 answers
1k views

Legitimate cases of having .equals() behaving inconsistently with .compareTo()?

Java documentation says it's "strongly recommended" to have them behaving consistently. But are there legitimate cases of java/c#/python/etc Object.equals() method behaving inconsistently with the ...
Wes's user avatar
  • 872
4 votes
2 answers
1k views

Why do we have mutator methods?

I'm switching from Java to Python and am having trouble understanding the @Property decorator. I realized in OOP languages (such as Java) I don't fully understand the point of mutator methods in the ...
northerner's user avatar
3 votes
9 answers
3k views

C vs C++ for a Java (and possibly python) Programmer [closed]

I am a Hobbyist Java programmer and I would like to further my programming skills by learning C or C++ and Python. I have read many C vs C++ articles but none of them contain the information I'm ...
Moyamo's user avatar
  • 139
2 votes
7 answers
2k views

tips, guidelines, points to remember for rendering professional code? [closed]

I'm talking about giving clients professional looking code. The whole nine yards, everything you hardcore professional highly experienced programmers here probably do when coding freelance or for the ...
bad_keypoints's user avatar
2 votes
1 answer
1k views

In Python when is absolutely preferable to use a class instead of a module?

Python is the language I use most in this period. My background in Java Before start learning Python I have programmed in Java language. In Java all code is written inside the methods of a class and ...
User051209's user avatar
2 votes
1 answer
1k views

Getting involved in an open-source Python-Java project [closed]

I'm a first-year PhD student in Ireland. My background is in mathematics, though I'm going to stream my career into programming with Python, Java and C++ languages. I have some good experience with C++...
Sophie Sperner's user avatar
-4 votes
3 answers
3k views

Why different languages have different syntax? [duplicate]

Different programming language always/most of the time use different syntax. For example take PHP, Java and Python. In Php & Java semicolons are compulsory at the end of the line, yet Python ...
Pratik Joshi's user avatar