programming-languages

Pass by name and pass by value-result languages

For my programming languages course, I'm trying to write some code snippets in languages that use pass by name or pass by value-result, preferably by default, but any language that even supports either of those would be fine. However, I haven't been able to find a single language that supports either of them. Does anyone know of a langua...

Advice on how to manage learning different languages and technologies?

Do you guys have any tips or advice on learning different languages and technologies at the same time? ...

Which programming languages (besides Smalltalk) are image based?

I'm really interested if someone knows a programming language that uses an image like Smalltalk... I think that is one of the greatest ides in the history of computer science.. I can not find other language besides Smalltalk that is base on an image. ...

Fortran 90 Resources?

I'm taking Fortran 90 class, and I'm looking for any good websites about Fortran. Does anyone know any? ...

Which Programming Languages text

At college, I gave the programming language course and the compilers course a miss. I have regretted that decision since. (especially after reading this blog post by steve yegge). Im considering going through - Essentials of Programming Languages. what other books/projects could help me understand what's really going on 'under the hood'...

What's so great about Scala?

What makes Scala such a wonderful language, other than the type system? Almost everything I read about the language brings out 'strong typing' as a big reason to use Scala, but there has to be more than that. What are some of the other compelling and/or cool language features that make Scala a really useful tool? ...

How many programming language types are there?

Duplicate: What are all the Programming Paradigms? Functional, Object - Oriented, Procedural, ... ? ...

Concise explanations of Java language changes in the major revisions

I'm about to jump into Java development again after a number of years. The language revision I worked with was 1.4.2. I know there have been significant changes to the language since then, and I'm looking for a site or a book that covers these in some detail. At the very least, I'm looking for a resource that indicates which language fea...

Can you be too old to start learning to be a decent programmer?

I can't find it now, but I found a question here the other day showing the distribution of ages when you all started programming. As I remember, the main range was 8 to 20, with 13 or 14 being about average. I'm 24, and I've just started (well, 4 months ago) learning C++ as my first language. I feel like I've found my vocation - I've be...

Matching Array and Function Syntax

So the idea behind an array and a function are very similar from a black-box perspective. You pass in the input value(s) and retrieve the output value. So is it better to keep array syntax and function syntax the same or is it better to have differences? e.g. print array[0] print func(0) versus print array(0) print f...

Managing concurrent projects written in different programming languages

I currently have three independent projects on my plate - each requiring development in a different language. There's a WCF Web Services / Windows Forms project in C# .Net 3.5, a web site in PHP with generous javascript, and maintenance on a legacy Windows application written in VB 6. Because I'm switching so often, I frequently start ...

Language that supports serializing coroutines

I don't think such support exists in current languages. I think what I want to do could be solved by a "workflow engine". But the problem I have with workflow's is generally they are: Declarative/verbose and I find a imperative style much more succinct Heavyweight, I'll have a lot of simple though diverse little state machines I've i...

Once you have a number of technologies under your belt, how do you objectively choose which one is best for a project?

Just two years ago, Java and C++ were my only languages. Today, I'm familiar with a lot more, including PHP, Python, C, the Java Enterprise libraries, and I'm starting to learn C# (both for desktop and web applications). Before, it was easy to choose a language to use, but now, it's a lot harder. What kinds of things are important when ...

What programming basics should I learn?

I've had a very odd learning experience in programming. I was sort of taught C++, but I didn't get a lot out of it. Here's what I did get out of it: headers and variable declaration. And I tried to teach myself PHP, in which I learned a lot of. The problem is, a lot of my knowledge is widespread, random, and designed for specific situati...

Programming Language Pragmatics is worth buying?

As per amazon reviews the book, Programming Language Pragmatics,by Michael L. Scott serves as a very good introductory book for Programming language and compiler design. Did any of you guys read this book and found really helpful? I am planning to learn compiler design, once I am comfortable with this book, can I buy this one ...

Why does Java main() method accept an array of String args?

Since its possibly one of the most widely used methods of the Java language, why does it have to accept an array of Strings and doesn't work without it? For example, I could always live with: public static void main() {} over public static void main(String[] args) {} Is there a higher purpose to this than just being able to accept ...

What programming languages were used to go to the moon?

I have always wondered: what programming languages were used to go to the moon? I realize there may not be a single answer/language, but it interests me. How many people worked on the code for these systems? How was it tested? Thank you, Edit: Or did we even go to the moon????? Kidding. Question still stands. ...

Which is more readable/writable—code that uses keywords for declarations or code that uses typographical symbols?

I'm implementing a programming language and I'm considering the following syntax: @NamespaceX { +@ClassY <> : BaseTypeA { +@NestedClassW<> { } +@MethodZ() : ReturnTypeC { //".?" is a null-coallescing member access operator @varD : ClassY = predicateP ? objectQ.?PropertyS ...

Should I use double-quotes or single-quotes for quoting strings if I want to be consistent across multiple languages?

In JavaScript, it doesn't seem to matter whether you use single quotes or double quotes when writing strings. However, some programming languages treat them differently. Is one more reliable than the other across multiple programming languages? Are there any pros or cons using one rather than the other (apart from when apostrophes or qu...

Want a new language beside Java with strength in GUI

I am new to programming. I'm studying Computer Science, and programming is probably going to be a career I'm going to pursue. Next semester we're going to have a large project where we are going to program Graphical User Interface (GUI) applications and we're allowed to pick our own language and platform. I have to say that I'm not so h...