programming-languages

What are "reduction semantics"? Please explain the use of PLT Redex in layman's term.

Somebody please explain the usage of reduction semantics and the PLT Redex in simpler language. Thanks. ...

Why convert code in one language to another?

I have heard of some compilers that convert code in one high level language to another e.g Shedskin that converts python code to optimized C++. I was wondering why would one ever try to do that. Why not directly write in the desired language itself? The only reason I could think of was may be compiled languages like C/C++ are better tha...

Are all languages basically the same?

Recently, i had to understand the design of a small program written in a language i had no idea about (ABAP, if you must know). I could figure it out without too much difficulty. I realize that mastering a new language is a completely different ball game, but purely understanding the intent of code (specifically production standard code...

Which languages allow whitespace in identifiers?

Which languages allow whitespace in identifiers? Example: int current index = 5 string body = fetch article(current index) ...

What are reasons to choose a scripting language over C#?

What are reasons to choose a non DSL scripting language over statically compiled language such as C#? -edit- Good answers so far. I feel I should explain further. I am pretty sure people use Python over C# for more reasons than just taste and C# over Python for other situations. ...

Programming language for working with axioms.

edit: Prolog is the answer. ...

"C subset of C++" -> Where not ? examples ?

I read in a lot of books the claim that "C is a subset of C++". Actually some (good?) books say: "C is a subset of C++ except the little Details". I am interested what these details are. I've never seen one. ...

multi plattform languages on the rise (desktop)?

Hello Everyone I am currently working in a .Net project but from university I have also a good background in Java. Recently I am asking myself, if multi plattform languages (like Java, or VM based like Scala) arent on the rise? Lets have a look at Suns WORA write once, run anywhere principle, which had been rephrased to write once, TES...

C compiler from where ?

I want to learn C language (is this something good ?) and i didn't know from where i can download the language to my PC ? and are this FREE or must pay for ? ...

Most impressive creation with Kodu

Kodu has been out for about a month now, and while I’ve been enjoying making hunter-destroyer kodus, simple apple/token-based games, and seeing other people’s creations on XBL, I find myself wondering: What truly adventurous creations have other seasoned programmers built in this little environment? Perhaps something comparable to the...

Which way I should take to evolve in programming

Hello, There is a question which really grinds my gears. I have just recently studied the documentation "What should every programmer know" and now I am at Primer C++ 4th edition. Reading this great book which hasn't any unneeded information like starting explaining STL or MFC in the beggining. It just focuses on the language. I would l...

What is the benefit of explicitly naming getters and setters as "get..." and "set..."?

Does this rankle anyone else out there? I would much rather see: block.key(newKey); // set the key for this block and testKey = block.key(); // look up the key for this block than block.setKey(newKey); // set the key for this block testKey = block.getKey(); // look up the key for this block First, the "set" and "get" are r...

Can producer-consumer problem be solved without using assignment?

I am interested in finding if producer-consumer problem when there are multiple produce and multiple consumer be solved without using assignment i.e., using functional style of programming? How? Producer-consumer problem Thanks ...

What real programming languages are easy to write interpreters for?

What real programming languages are easy to write interpreters for? "Real" languages for me, are languages you can actually write a small project with, not one of the easy Esoteric programming languages. (I'm asking because I want to do some hobby project.) ...

What's after PHP?

Possible Duplicate: What Should I Learn After PHP? Ive been doing PHP for the past 2 years and I'm quite comfortable with it, I can do most things and I'm finding it harder to find challenges. Which is good I suppose. But as I become more experienced I'm hearing bad things about it. That in the grand scheme of programming it's ...

pygtk: free variable referenced before assignment in enclosing scope

Very bizarre scoping error which I can't even see. Inside of an updater function, I have a nested helper function to... help w/ something: def attach_row(ws,r1,r2): es = [] for i,w in enumerate(ws): eb = gtk.EventBox() a = gtk.Alignment(xalign=0.0,yalign=0.5) a.add(w) e...

Recommended books for web developers trying to bring it to the next level?

I have $100 to invest in a couple of books. Can you recommend me one or two recently released books on the subject of programming and/or computer science? I'm a web developer: Python/PHP/Ruby, slow "easy" languages. I'm trying to add more algorithms, numerical computing, artificial intelligence, and very fast languages to my skill set....

Books and literature for implementing a language on the CLR

I'm looking for books and literature on the inner workings of the CLR (and/or possibly the DLR), my long time goal is to implement a simple language on the CLR. ...

What language is Wikipedia programmed in?

What language is Wikipedia programmed in? ...

Survey of programming languages and their purpose and strengths.

Duplicate “Every language was created for a specific purpose” I come from a web programming background (PHP, Perl, HTML, CSS, Javascript and Actionscript). But I have an interest in programming generally. And I was wondering how do people conceptually break down the technological soup that's out there? What languages are out ther...