14
votes
7answers
2k views

Learning to program in C (coming from Python)

If this is the wrong place to ask this question, please let me know. I'm a Python programmer by occupation. I would love to learn C. Indeed, I have tried many times, but I always get discouraged. In ...
12
votes
5answers
945 views

How to have two different programmings with two different languages interact?

I don't know if this is too broad or not, but I am a youngish programmer still in college, its my Junior year. I feel like I have a pretty good grasps for different languages and have a pretty good ...
8
votes
10answers
1k views

Preferring Python over C for Algorithmic Programming

I've been studying a bit of algorithms and have been looking at sites like SPOJ.pl TopCoder etc. I've seen that programmers prefer C or C++ usually for most algorithmic programming contests. Now ...
6
votes
2answers
841 views

Good examples and best practices for writing Python wrappers around C APIs

I have an internal API, written in C, which I'd like to write a Python wrapper around it. The API is well structured: it has a few data structs and functions for each kind of struct, like this: ...
5
votes
6answers
2k views

Why should we use low level languages if a high level one like python can do almost everything? [closed]

I know python is not suitable for things like microcontrolers, make drivers etc, but besides that, you can do everything using python, companys get stuck with speed optimizations for real hard time ...
5
votes
2answers
2k views

What should I learn after Python? [closed]

I am 12 years old and have mastered the basics of Python with Learn Python The Hard Way by Zed Shaw (I think) and it has done me well. What should I do next? Do you have any recommended books or good ...
5
votes
2answers
240 views

Writing functional tests for a legacy project

I am trying to add a couple of tests to a legacy C project. The project basically consists of a command line tool that prints something to stdout every time an event happens. Now, since writing unit ...
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 ...
3
votes
5answers
372 views

Designing for an algorithm that reports progress

I have an iterative algorithm and I want to print the progress. However, I may also want it not to print any information, or to print it in a different way, or do other logic. In an object oriented ...
2
votes
5answers
906 views

Will Python developers find it easier to learn C (and vice versa)?

Since Python was written in the C programming language, does it mean that if I know C I will learn and master Python faster than it would take me to learn it without prior knowledge of C? Or will ...
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
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
2answers
1k views

Tips on Converting a C program to Pure Python

I'd like to convert an open source C application to pure python (not to Cython, IronPython etc). The documentation and presentations of the original creator of the C application has given me a good ...
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
2answers
345 views

Python as a first language? [closed]

I have just started working in Information Security World. I want to learn the Python language for creating my own automated tool for Fuzzing, SQL-Injection etc. My question is I don't know much ...
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
2answers
1k views

How can I do test automation using a python script to test a c program?

I was wondering if I can use a Python script to test a C program automatically. Suppose I have a very simple C program which reads data (numbers as test cases) from the console, calculates them, then ...
1
vote
1answer
233 views

Python or C more productive for begginers? [closed]

From a clear technical perspective, what would be easier for an amateur to learn and be immediately productive in: Python or C? I am not looking for answers based on hype or marketabillity, just ...
1
vote
1answer
160 views

Portability: Python's C/C++ libraries/extensions vs JRuby's Java libraries

I've had some discussion with colleagues who chose to go with JRuby along the following line of argumentation: JRuby can make use of anything that is available in Java, ergo such programs are more ...
0
votes
10answers
1k views

Python is slowly replacing C in universities. Does this move degrade the quality of CS students? [closed]

I believe learning C is one of the most important aspects for any programmer. It's a beautiful combination of a high and low level language. Some universities are moving to stop teaching C in the ...
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. ...
0
votes
1answer
135 views

Programming in a competitive environment as a motivator [closed]

I figured that a big motivator for me has always been competition. That's why I am looking for a platform where I can spend my free time coding on a project which will be compared with other projects ...
-1
votes
1answer
116 views

What features do you want in modern debuggers? [closed]

I am trying to build a better debugger for C/C++ and hopefully for Python and Javascript. I am not too happy single stepping through various lines of code to see what got executed and what did not. ...