programming-languages

Why do you like Python?

I have to make a presentation at work to convince everyone why they should try coding in Python. So, I thought of taking a poll here... What is it about Python (features, etc) over other languages that you love? The reason I usually give is that in Python you forget about the complexities and frills of programming languages and can jus...

Presentations on switching from Perl to Python

Short story: I'm looking for presentations/good articles on switching from Perl to Python. Longer story: I'm a programmer / embedded hardware engineer in a hardware design group. A few years ago I've convinced my co-workers to use Perl for scripting (instead of a weird mixture of batch files, Excel, Matlab and TCL). Since then, I myse...

Which programming language makes concurrent programming as easy as possible?

If you want to create programs with threads/processes that run parallel you have to learn about many stuff, like race conditions, locks, semaphors, monitors, deadlocks .... Is there a language that makes creation of parallel programs as easy as object-oriented programming languages help creating complex architectures? Or which programmi...

IDE or Text Editor?

Do you like to code using an IDE (like Eclipse or Visual Studio), or you prefer simply a text editor (like Vim) ? I heard strong arguments against IDE's (specially from dynamic language programmers) but I really love Eclipse. Which type do you prefer? Why? If it depends on the language please say so. Thanks ...

After C++ - Python or Java?

I'm fast approaching the point in my coding where I would like to quickly write object oriented code in languages other than C++ for a variety of reasons. After a lot of research, my choices have pretty much narrowed down to Python and Java. I'm leaning towards Python because of its relationship to C, but with Java, from what I can see...

Redundancy in C#?

Take the following snippet: List<int> distances = new List<int>(); Was the redundancy intended by the language designers? If so, why? ...

What does the "private" modifier do?

Considering "private" is the default access modifier for class Members, why is the keyword even needed? ...

What high level languages support multithreading?

I'm wondering which languages support (or don't support) native multithreading, and perhaps get some details about the implementation. Hopefully we can produce a complete overview of this specific functionality. ...

What programming languages support arbitrary precision arithmetic?

What programming languages support arbitrary precision arithmetic and could you give a short example of how to print an arbitrary number of digits? ...

I can learn either C or Java, which one should I choose first? Should I take them concurrently?

I realize this is a subject of hot debate, but I'm interested in opinions that relate to my specific situation. I want to learn the basics and fundamentals of programming, so I'm already taking a college course in general programming concepts. It isn't covering a specific language, but it's giving me a solid foundation that I can build ...

Learn C from Open Source code

I've tried a couple of times to teach myself to program in C using books, but haven't had the patience to progress through all the mundane examples. I have experience of programming in Java, and I'm a good PHP developer, so I find Hello World and generic programs-to-read-from-STDIN aren't really very informative. I imagine that a better...

How do you choose what programming language to use?

At work, the decision is generally driven by what the team knows (which for web projects ends up being PHP/MySQL/JavaScript in my current job) and cost of the tools. But when you are writing all the code yourself, how do you make the decision? When do you pull out the trusted tool (and how do you choose which trusted tool if you have mul...

Is HTML considered a programming language?

I guess the question is self-explanatory, but I'm wondering whether HTML qualifies as a programming language (obviously the "L" stands for language). The reason for asking is more pragmaticI'm putting together a resume and don't want to look like a fool for listing things like HTML and XML under languages, but can't figure out how to ...

What is "Total Functional Programming"?

Wikipedia has this to say: Total functional programming (also known as strong functional programming, to be contrasted with ordinary, or weak functional programming) is a programming paradigm which restricts the range of programs to those which are provably terminating. and These restrictions mean that total fun...

Should LOGIC-techniques be blended into Mainstream Programming?

I refer specifically to predicate logic, somewhat as implemented in PROLOG, but less strictly bound to first-order logic. PROLOG-techniques offers powerful solutions towards data-analysis, data-mining, problem-solving, etc., but PROLOG's reputation as an exotic toy for AI, expert-systems and research seems to prevent the application of ...

What you think about default pass-by-reference semantics on C++?

EDIT: This question is more about language engineering than C++ itself. I used C++ as an example to show what I wanted, mostly because I use it daily. I didn't want to know how it works on C++ but open a discussion on how it could be done. That's not the way it works right now, that's the way I wish it could be done, and that would brea...

Will learning a couple of languages in parallel blow my mind?

I wonder if I should learn more than one programming language at once? Are there any examples of language duos that 'go well' togather? ...

Best way to learn how to use FPGAs

In next weeks probably I will have some little FPGA to play with. I have a programmer background (C, C++, Java mostly) and some (very) limited experience in electronics. What are the best tools to know if you want to develop on FPGAs? What are the best languages to study? (what HW description languages?) Have you some examples of lit...

Floating a New Programming Language

How does a new programming language get established? How could I design one and be famous? What steps would I need to take to get it 'Out There'? ...

Python v. Perl

Okay, so I'm finally making the jump into scripting languages and I have decided to focus on either Python or Perl. The problem is: I don't know which to cut my teeth on. Most of my programming experience is in C, Java, and C++. There's no specific task I would be learning Python/Perl for, other that possibly applying it to my dev work ...