programming-languages

Fifth generation languages?

I have been asked for these kind of languages, my first naive attempt brought two list List A) A programming language based on constraints rather than algorithms to solve the problems. eg. Prolog List B) A programming language that contain visual tools to help develop a program. eg. VB Digging deeply into the internet I fe...

Is it ever a good idea to try to make a programming language do something it wasn't meant to?

For instance, just for kicks, I was thinking about having a PHP script that all of my JavaScript files would pass through; now, this combined with the lovely little buggers that are regular expressions leads to a whole world of possibilities (for better or worse). At the moment, I've only made it so that JavaScript is Pythonic in structu...

If statements

I have a faint memory of being able to write an if statement in some language like this: if (foobar == ("this" || "that")) Instead of: if (foobar == "this" || foobar == "that") The latter is more verbose, and therefore less aesthetically appealing to me. Is the former convention supported in any major languages? Is there a reason ...

Language for Web Application with User Configurable Scripting ?

I'm an eager amatuer, and am rolling around an idea to use to 'sharpen my saw'. I want to start an app to allow; creation of forms by the userbase management of those forms filling in of those forms storing of forms These forms would require some level of scripting (i.e add Field 1 to Field 2 and put the result in Field 3), Ideally...

What is the best programming language to master?

To start with, a little anecdote. I had my question written down in this form and suddenly, I really do have no idea why, I've closed "google chrome".. and now I need to start writing it again from scratch :) In those last years, I've come to know many languages. However, I think it's important to really master one or a few. I'll give y...

Deciding what programming language to use for the next project

I have been programming in Java Platform and J2ee environment for more than 4 years .As a technical person who loves to try out many languages, libraries, frameworks, etc. for my daily tasks, one question keeps annoying mewe have so many options available. The challenge lies in picking up the right tool for the right task. So what shou...

At what point does a config file become a programming language?

I have been mulling over config files and their relationship to code for a while now and depending on the day and direction of the wind my opinions seem to change. More and more though I keep coming back to the realization I first had while learning Lisp: there is little difference between data and code. This seems doubly true for conf...

What fast low-level languages can you recommend?

I have became interested in C-like languages for performance computing. Can you recommend some alternative programming languages which have the following attributes: must be close to the hardware (bit fiddling, pointers or some alternative safe method like references) no managed code (no jvm/.net languages) has to be really fast (like ...

Advice on platforms/frameworks/languages/etc for a new project

I know this is not a programming question per se, but I wanted to get as much input from the SO community on a new project I hope to get started. The project is from being started from scratch and thus every decision for programming languages, databases, frameworks, platforms and what not are up in the air. I'm hoping to get your opini...

What's the difference between File stream in C and iostream in C++?

What's the difference between File (File* pointer)stream in C and iostream in C++? Why are they both called stream, do they have something in common? ...

resource for programming language features

Hi Looking for a good resource (textbook/webpage/etc) where I can learn about all the different terms I hear used to describe programming languages. Things like: - downward funargs - currying - closures ...

What methods can we use to interoperate programming languages ?

What can we do to integrate code written in a language with code written in any other language? Which techniques are more/less known? I know that some/most languages can be compiled to Java bytecode, but what do we do about the rest ? ...

Lego Mindstorms Programming - which language/IDE do you use/recommend?

I'm new to it and currently using the visual flow-chart like language that the Lego Mindstorms IDE uses. I'm impressed with how readable the diagramming language is but missing the flexiblity of actual code. I'm imagining complicated projects I want to try out and don't really want to implement them as a gigantic flow chart! lol :) I kn...

The Benefits of Using Function Pointers

I have been programming for a few years now and have used function pointers in certain cases. What I would like to know is when is it appropriate or not to use them for performance reasons and I mean in the context of games, not business software. Function pointers are fast, John Carmack used them to the extent of abuse in the Quake and...

What are some famous abstractions in programming languages?

For my computing languages class, we've been assigned to read On the Design of Programming Languages by Niklaus Wirth. One of Wirth's main points is that programming languages should choose a few abstractions and stick with them. I'm trying to brainstorm some more modern examples than the ones that Wirth gives (although they don't nece...

Truly multi-lingual programming languages?

I realize most languages support multiple languages, but every language I've seen has always been more-or-less US-centric. By that, I mean the keywords, standard library functions, etc. all have english names. So, as a programmer, you still really need to know at least some english to make sense of it. Are there any truly "multi-lingu...

What is actor model in context of a programming language?

I've seen it mentioned in several places in contexts like Erlang actor model, Groovy actors, Scala actor model etc. What does this refer to? ...

Ruby, Python, C# and PHP for Learning Fundamentals and Productivity

I have read a ton of posts and articles about all of these languages and the good and bad of each. I realize that some folks will say "Oh another 'best language question'" and frankly I don't care. I am genuinely curious about this and I think it is an interesting question for healthy discussion. I would like to learn a language that ...

Python Programming - Rules/Advice for developing enterprise-level software in Python?

I'm a somewhat advanced C++/Java Developer who recently became interested in Python and I enjoy its dynamic typing and efficient coding style very much. I currently use it on my small programming needs like solving programming riddles and scripting, but I'm curious if anyone out there has successfully used Python in an enterprise-quality...

Should I learn Ruby or Python?

I'm a C(++)/C# programmer and I would like to learn a scripting language to create small tools (text processing, build scripts, a little web development, etc). I would like to learn either Ruby or Python. Is there a good reason to chose one over the other? I looked at some sample code in both languages and they seem very similar to me....