programming-languages

Choosing a Platform for Long Term Project

Hello, I just posted a question about whether WPF is a good choice for a long term project, and it got me thinking in general about development for long term projects. If you have to choose the technology (language/environment/framework) for a project that is expected to last for many years (at least 10), what would you choose? Which t...

Explain Concatenative languages to me like I'm an 8 year old

I've read the wikipedia article on concatenative languages and I am now more confused than I was when I started. :-) Can someone explain what a concatenative language is in stupid people terms? ...

Matlab vs. Visual C++??

I'm doing a Windows Application the uses lots of charts.. Its practically a dataviewer.. I started doing Matlab, because its easier, but I realized it's too slow.. I wanted to change to another language.. Somebody recommended me Visual C++ or Java.. But Im not sure.. What language should I use?? ...

What are the most important programming languages to know for concepts?

In your opinion, what are the most important languages for a programmer to know? I'm talking about concepts, not about how practical the language is. List the languages and a reason. For example, Lisp for functional programming, JavaScript for prototype-based OOP, etc. ...

Ever look back at some of your old code and grimace in pain?

It is very difficult to write perfect code because the standards upon which our code is judged is evolving every day. The beautiful as it may be now, is probably going to be ridiculed later. Have you ever look back at some of your old code and grimaced in pain? If yes, do you have any idea how to overcome this? ...

What is the advantage of having this/self pointer mandatory explicit?

What is the advantage of having this/self/me pointer mandatory explicit? According to OOP theory a method is supposed to operate mainly (only?) on member variables and method's arguments. Following this, it should be easier to refer to member variables than to external (from the object's side of view) variables... Explicit this makes it...

What would programming languages look like if every computable thing could be done in 1 second?

Inspired by this question Suppose we had a magical turing machine with infinite memory, and unlimited CPU power. Use your imagination as to how this might be possible, e.g. it uses some sort of hyperspace continuum to automatically parallelize anything as much as is desired, so that it could calculate the answer to any computable quest...

Should a developer know perfectly one language or know fairly well multiple languages?

Possible Duplicate: Should developers be specialists or generalists? I recently graduated and I am now a web developer. During my personal projects and past professional experiences I got to learn a lot of web languages and frameworks, from PHP to ASP, from Rails to Java. Still, I do know that I don't have a perfect understandi...

Functional Development On The CLR

If this has already been asked and answered, please point me to the existing Q & A and I'll delete this question. I did look and didn't see this one answered. Are there mainly functional languages (like LISP, Scheme, Haskell and so forth) besides F# for the CLR platform? I say "mainly functional" because realize there are CLR language...

Language Menagerie

Possible Duplicate: Should developers be specialists or generalists? I was wondering... With regard to pursuing and strengthening a career as a programmer (in the broadest sense) is it better to stick to 1 core set of languages (e.g javascript and c#) or always be on the lookout for "the best tool for the job". Personally I wan...

Do certain languages have intrinsic processor architectures by-design

I'm curious to know if certain languages are, by design, better suited for certain processor architectures. When I say architectures, I don't mean ARM/PPC/MIPS but more stack, accumulator, or register based architectures. For example, I can think of Forth, which is a stack architecture. Any others? ...

Parsing Source Code - Unique Identifiers for Different Languages?

Hello, I'm building an application that receives source code as input and analyzes several aspects of the code. It can accept code from many common languages, e.g. C/C++, C#, Java, Python, PHP, Pascal, SQL, and more (however many languages are unsupported, e.g. Ada, Cobol, Fortran). Once the language is known, my application knows what ...

What is a 'thunk', as used in Scheme or in general?

Hi all, I come across the word 'thunk' at a lot of places in code and documentation related to Scheme, and similar territories. I am guessing that it is a generic name for a procedure, which has a single formal argument. Is that correct? If yes, is there more to it? If no, please? For eg. in SRFI 18, in the 'Procedures' section. ...

Why was Matlab written in C instead of Fortran?

As you may know, Fortran is a language for scientific computing. however, the kernel of the most famous high level language for scientific computing has been written in C instead of Fortran. Why? ...

Why create a new programming language?

What is the real benefit of creating a new programming language? It is highly unlikely that you are going to actually use it. In short, how will the process of creating a new language make you a better programmer? ...

Designing and Implementing a programming language, What is the next step?

So i have design a programming languages and got far enough that i wrote example code and started writing BNF. I want to know is there a checklist of things i may want to do before writing the rest of my BNF? what should i do afterward? i am afraid implementation will take a long time (its as complex as and maybe more then C++). What are...

Languages to generate single-EXE Windows apps?

Hi I was wondering what tools there are out there to generate single-EXE Windows apps, ie. with all the libraries compiled into a single EXE, without any dependencies whatsoever. I know these: Delphi PowerBasic and other non-OO compilers like FirstBasic, etc. RealBasic C/C++ Do you of other tools? Thank you. ...

What's a good lightweight programming language that compiles to native windows code?

I'm a .Net developer but I have a situation where I can't guarantee that the .Net Framework will be installed on the target machine. I've seen a few questions (here and here) that suggest using NGen to compile to native code. Both point out that you still need the framework though. I want to write a fairly lightweight app (basic GUI, ...

What is truly wrong with Java generics?

Possible Duplicate: Why do some claim that Java's implementation of generics is bad? What's really so wrong with Java's generics? Or perhaps another way, what's so much better about other languages' implementations of similar concepts? I don't mean to spark any wars, but I haven't programmed in Java since 1.4 (i.e. before gene...

is there a good general policy for setting up the sequence of catch blocks?

is there a good general policy for setting up the sequence of catch blocks? ...