programming-languages

Is it typical for a programmers to use one language/technology to earn money and the another for personal projects?

First of all, I'd like to note that this question is not about what language is better because I do not want to start a holy war here. I am currently learning and using C++ and for work I am studying C# + ASP. I like C++, but it seems to me that this great language does not have much of a chance to win the race with C#, though the tiobe...

Future of languages with no standard and no corporate backing

Over the years we have seen (well, I have :) a number of languages come and go. Some were more accepted, some a little less. So I was wondering, what do you think are factors which most impact whether the language survives ? And whether it will have a future for a number of years (by that I mean several decades or so) ? For example, for...

static in different languages

I've heard there are differences between languages about the meaning of the keyword static, but I've not found a good list that consolidates those differences. Here's what I know about the meaning of static in C++: For local static variables within a function, the variable is initialized at startup and the value is saved across func...

Is C# a high level language?

Is C# a high level language? I see it as more like medium level, but I am still unsure about this. Would you consider it as high level as some of the popular scripting languages? Or does it accommodate more than one level? ...

Do you think functional language is good for applications that have a lot of business rules but very few computation?

I am convinced that functional programming is an excellent choice when it comes to applications that require a lot of computation (data mining, AI, nlp etc). But is it wise to use functional programming for a typical enterprise application where there are a lot of business rules but not much in terms of computation? Please disregard ...

What would it take for people to move away from C++?

Even most people who like C++ admit that it has tons of warts not related to its niche as a systems/performance programming language. These include its antiquated module management system (header files), requirement for forward declarations, syntax quirks that make its grammar undecidable (such as <> angle brackets for template declarati...

Do you think natively compiled languages have reached their EOL?

If we look at the major programming languages in use today it is pretty noticeable that the vast majority of them are, in fact, interpreted. Looking at the largest piece of the pie we have Java and C# which are both enterprise-ready, heavy-duty, serious programming languages which are basically compiled to byte-code only to be interpret...

What should I consider when selecting a language?

Duplicate: Best Language for Rapid Prototyping? Which language should students start with? What coding languages should a web developer know? What are some criteria to keep in mind when selecting a language to use for a project? For example, why should I use Python over Ruby, PHP over ASP, C# over Java, etc. Is it scalab...

Are there any studies on whether functional/declarative or imperative programming is easier to learn as a first language?

Not best to learn, but easiest to learn. Not easiest for programmers, but for non-programmers (as a first language). Not opinions or anecdotes, but are there any studies? I think that functional/declarative programming (Haskell, Scheme, Lisp etc) is more powerful and more abstract than imperative programming, and therefore is intrinsi...

Why hasn't logic programming caught on?

As time goes by, it appears more and more like functional programming is having more of an effect on other programming languages. We're starting on Prolog in my AI class, and it seems like there are some things there that would make programming in non-AI fields easier. My question is this: why hasn't logic programming caught on in the...

What programming language is in the highest demand in the market place right now?

What programming language is in the highest demand in the market place right now? Related: http://stackoverflow.com/questions/115256/skills-in-demand-during-2009 http://stackoverflow.com/questions/205744/what-appear-to-be-the-more-lucrative-programming-skills-at-the-moment ...

Choice of programming language in book on algorithms?

Following up on my previous question on the enduring properties of a book on algorithms, see here, now I would like to ask the community what language would you use to write the examples of such a reference book. I will probably not use MMIX (!) to write the examples of the book, but at the same time, I think just pseudo-code would be ...

if/else and if/elseif

If I have a statement block like this: if (/*condition here*/){ } else{ } or like this: if (/*condition here*/) else if (/*condition here*/) {} else if (/*condition here*/) {} What is the difference? It seems that with if/else, if part is for true state and the else part is for all other possible options (false). An else-if would...

What does "expressive" mean when referring to programming languages?

I hear this word a lot in sentences like "javascript is a very expressive language". Does it just mean there aren't a lot of rules, or does "expressive" have a more specific meaning? ...

Best programming language to learn for a beginner VB programmer?

What is the best programming language to learn if one's only previous background is in beginning vb, but no intermediate or advanced vb is available? ...

What programming languages/platforms can you use for GUI in a WinPE environment?

I'm starting work on a project that must be delivered in WinPE. I will likely be able to use WinPE 3.0. I'm also aware of Bart's PE and VistaPE, but I think I'm going to stick with WinPE. I need x64 support and the full range of storage drivers. I want to develop an app with a GUI and network access. I would like to work in Visual Studi...

What is the difference between static and dynamic binding?

Binding times can be classified between two types: static and dynamic. What is the difference between static and dynamic binding? Could you give a quick example of each to further illustrate it? ...

What is a better language-introduction preview than "Hello World"?

Hello, Many programming languages introduce themselves with a simple "Hello World" program. As a programmer, I must admit that this does not give very good insight into the strenghts and capabilities of the language. What kind of problem would you suggest to use when providing a demo of a programming language? ...

Are all scripts written in scripting languages?

I'm confused by the concept of scripts. Can I say that makefile is a kind of script? Are there scripts written in C or Java? ...

Fixing Lisp Syntax

Being a newbie to Lisp I'm wondering if the Lisp syntax could be "fixed"? Some people say the syntax in Lisp is one of its biggest strengths. I don't quite understand this. Isn't it possible to replace "obvious" parentheses with a combination of white spaces, new lines and indenting? Just like in Python? It looks to me like parenthe...