Tagged Questions
35
votes
16answers
15k views
What can I do with programming?
I'm a student studying biochemistry, and I've been learning some programming because I like it and it seems like the more one knows about computers the better. I've learned a good deal of python and ...
27
votes
5answers
2k views
Java dev learning Python: what concepts do I need to wrap my head around?
I've run through a few tutorials and written some small projects. I'm right in the middle of a small project now infact. All is going well enough thanks in no small part to Uncle Google (who usually ...
22
votes
7answers
9k views
Why use try … finally without a catch clause?
The classical way to program is with try / catch but when is it appropriate to use try without catch? In Python the following appears legal and can make sense:
try:
#do work
finally:
#do ...
19
votes
7answers
1k 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 ...
19
votes
5answers
3k views
Is programming in Python faster than in C, C++ or Java?
There's a widespread belief among programmers that the more dynamic and loosely typed the language, the more productive the programmer will be in it. Guido van Rossum wrote about programming ...
16
votes
6answers
3k views
Programming language usage at Google
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 ...
14
votes
11answers
2k views
Why hasn't C# gained much traction within the opensource community?
I'm not expecting C# to be on par with say Java or Python in the open source community, but it still surprises me just how far behind it is.
'Multi language' open source repos like google code or ...
13
votes
12answers
3k views
why there is no power operator in java / c ++?
While there is such operator - ** in Python , i was wondering why java and c++ havent got one too.
It is easy to make one for classes you define in C++ with operator overloading ( and i believe ...
12
votes
8answers
820 views
Thinking of simultaneously coding the same project in two languages. Good Idea?
Is this a good way to learn a new language? Or to develop a preference of one language?
I was thinking of coding a project in both Python and Java. The only foreseeable problem is trying to transfer ...
12
votes
6answers
2k 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 ...
12
votes
7answers
4k views
Python productivity VS Java Productivity
Over on SO I came across a question regarding which platform, Java or Python is best for developing on Google AppEngine. Many people were boasting of the increased productivity gained from using ...
11
votes
10answers
2k views
Why are inheritance and polymorphism so widely used?
The more I learn about different programming paradigms, such as functional programming, the more I begin to question the wisdom of OOP concepts like inheritance and polymorphism. I first learned ...
10
votes
7answers
866 views
Pythonic Java. Yes, or no? [closed]
Python use of indentation for code scope was initially very polemic and now is considered one of the best language features, because it helps ( almost by forcing us ) to have a consistent style.
...
9
votes
8answers
1k views
Do I have to learn html and javascript to create web applications?
I am an experienced Java programmer, and I want to create a complex web application requiring dynamic pages, drawings, etc (take SO as an example). Do I have to learn javascript/html in order to ...
9
votes
5answers
5k views
Why is Python slower than Java but faster than PHP [closed]
I have many times seen various benchmarks that show how a bunch of languages perform on a given task.
Always these benchmarks reveal that Python is slower then Java and faster than PHP. And I wonder ...
8
votes
9answers
557 views
Where is the best place to get off my feet in Python programming?
I have tried to learn C++ and Java before, but the syntax confused me. I definitely will be learning them after, but for now, where is the best place for a guy who has programmed before to learn ...
7
votes
8answers
1k views
Python : how can I impress people coming from Ruby/Java?
I am preparing a presentation about Python for my company, and would like to show Python's awesomeness to developers using Java or Ruby ! I guess it will be very simple to write shorter and cleaner ...
7
votes
5answers
370 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 ...
7
votes
5answers
3k views
What skills are needed for machine learning jobs?
I posted this question on Quora, but didn't get enough responses. reposting it here.
I am a learner sitting at home and learning linear algebra, very interested on working in Machine Learning ...
6
votes
3answers
2k 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 ...
6
votes
4answers
6k views
Open source projects, how to choose?
I would like to join an open source project since I think I am good enough at programming to progress onto reading others code and to modify it. But the proble mis, how would I choose an open source ...
5
votes
4answers
4k views
Java or Python for internet application? [closed]
In choosing a technology for internet applications where the number of users may scale over time, which one should we consider: Java or Python? What are the considerations in choosing one and not the ...
4
votes
10answers
858 views
I'm 15 years old. What would you recommend for resources? [closed]
I'm a 15 year old kid who seems to excel in all of his classes, likes talking in 3rd person, and wants to learn more about programming and a little about html/php stuff. I already know a little ...
4
votes
4answers
736 views
Advice on which technologies to use for a client-server desktop application
I am writing a desktop application in Java which will allow clients to authenticate to a server with their credentials, and afterwards view and manipulate some data (orders, invoices, employees etc.) ...
3
votes
3answers
307 views
Using Jython and Tomcat in bundle - should we even try to?
Have you ever used Jython in bundle with tomcat in any serious, production-ready service?
What pros and cons can you name?
Is it worth trying if all guys in team has no problems with coding on Java, ...
3
votes
1answer
367 views
Is Python's C interface faster than JNI?
I was reading What makes JNI calls slow? and I was wondering if Python's C interface is any better than JNI.
I heard that if you want to make certain parts of your python programs faster, or if a ...
3
votes
4answers
552 views
Python vs. Java for embedded wireless module
We are developing a product at work which interfaces with basic I/O and sends data to a webserver over a GPRS connection.
What i need to know before we commit to a product, is which language is more ...
3
votes
1answer
183 views
Is MVC the optimal pattern to build a RESTful web service?
Not being a Java practitioner, I recently came to learn about the JAX-RS specification and Apache CXF framework. While still wrapping my head around all these things, I also read the this question on ...
3
votes
2answers
174 views
Do I need to learn python first to understand the part 2 of the book Test Driven development?
It seems like Python is used as a coding language for part 2 of Kent Beck's book Test Driven Development. I have read the first part of that book and started appreciating the value of TDD . First part ...
2
votes
8answers
475 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 ...
2
votes
6answers
281 views
Feedback On Choosing A Language For A Project?
Without starting a religious war, I'd like feedback on languages I'm considering for a project. I've done a lot of research, but I have a lot of gaps still and am hoping to narrow my research ...
2
votes
9answers
835 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 ...
2
votes
3answers
539 views
Is it possible to have an effective VIM environment for both C++ and Python?
I have recently moved to a VIM environment for Python development. I learned the setup from John Anderson's outstanding web page on the subject. I am about to try and set up another VIM environment ...
2
votes
2answers
185 views
How to create contracts in python
I am currently learning Python (from Java) and have a question on contracts.
Example: an application defines an interface that all plugins must implement and then the main application can call it.
...
2
votes
4answers
119 views
Call a script over the network
I have a Python script on a box that I want to call from a Java server, over the network. I know that I can start a server on the Python side and then connect to it from the Java site, but I am trying ...
2
votes
1answer
455 views
Difference between Controller and Dispatcher in MVC for web frameworks?
In MVC applied to WSGI or Java EE, is the Servlet a controller, dispatcher, or both? I think I've seen system diagrams where the controller and the dispatcher are different. Could the controller ...
2
votes
2answers
546 views
Web Services as a Back end
I am contemplating a direction to take an application. The application is written in PHP which implements a MVC framework.
Some of my clients will require web services. I was thinking even building ...
2
votes
1answer
415 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 ...
2
votes
1answer
645 views
Java or Python for Google App Engine not knowing either language?
I have a few project ideas that I'd like to deploy on GAE. I'm interested in developing a logging application for amateur radio contacts, shortwave, and utility monitoring. More complex projects ...
1
vote
7answers
2k views
I need a step-by-step Sample Programming Tutorial (book or website) [closed]
Can anyone recommend a step-by-step programming tutorial (either book or website) where they walk you through designing a complex program and explain what they are coding & why? Language doesn't ...
1
vote
5answers
3k views
Application Development: Python or Java (or PHP) [closed]
I'm looking to get into application development, such as Facebook or Android apps and games. I am doing this for fun and to learn. Once my skills are to par I would like to have some side income from ...
1
vote
4answers
1k views
Where to use C++ today? [duplicate]
Possible Duplicate:
Is there any reason to use C++ instead of C, Perl, Python, etc.?
When to use C over C++, and C++ over C?
I am going to enter university next fall in computer sciences, ...
1
vote
1answer
509 views
What should I think about when switching from Python to Java? [duplicate]
Possible Duplicate:
Java dev learning Python: what concepts do I need to wrap my head around?
I was a Java developer in the early 2000s, switched to Python in 2008 and now I am working in ...
1
vote
2answers
426 views
How far is the trail from Java to C / C++? [closed]
I want to find out how easy or hard the transition to C / C++ is for a mid-experienced Java programmer.
I've already read the questions about "C++ for Java Programmers" and "Is it necessary for Java ...
1
vote
1answer
172 views
Google Plugin for Eclipse and Python [closed]
Is it currently possible to develop for Google App Engine in Eclipse using both the Java languages and Python (Not together, but as different application types in Eclipse)? I've been able to set up ...
1
vote
1answer
658 views
graph data structure in Java (or Python)
does Java have graphs as an intergrated data structure? How about Python?
I was assigned to write a program, that solves the TSP (travelling salesman problem) via the GRASP (greedy randomized ...
1
vote
1answer
256 views
Reading graph inputs for a programming puzzle and then solving it
I just took a programming competition question and I absolutely bombed it. I had trouble right at the beginning itself from reading the input set. The question was basically a variant of this puzzle ...
1
vote
1answer
240 views
How easy/difficult is it to start using something like Python/Django in an existing Java project? [closed]
I have a Java project which uses Java to access some 3rd party libraries. For other things I'd like to use something newer like Python maybe. Is it easy to incorporate into an existing project? How ...
0
votes
6answers
522 views
Java API vs. Other APIs
I'm more at the novice end of the software developer spectrum, but nevertheless I've had exposure to quite a few programming languages and frameworks. From all the technologies I've used, I haven't ...
0
votes
1answer
1k views
What are C's advantages over OOP languages, other than performance? [duplicate]
Possible Duplicate:
When to use C over C++, and C++ over C?
C still has its own importance in the programming world! And one reason for it is its performance. But, I have some questions.
...