Artificial languages for instructing computers to do steps of computation in order to complete tasks. They allow programmers to communicate with computers.

learn more… | top users | synonyms

14
votes
6answers
2k views

What came first, the compiler, or the source?

I'm curious about the birth of the compiler. How did programming begin? Did people first build hardware that recognized a certain set of commands, or did people define a language and then build ...
2
votes
4answers
558 views

The benefits of using RAII in C++

Suppose I'm a teacher and I want to explain to my students what are the benefits of using RAII in C++: I need a very good example, full of details, but that is easy to understand. Which approach ...
-3
votes
2answers
497 views

Microsoft UI stack

I am a C#, WPF developer and would like to know and understand the Microsoft UI Stack. I could not find much on the internet. I guess that this would be a huge topic, and might not be feasible to ...
1
vote
2answers
629 views

According to Paul Graham in 2002, languages can be ranked in power order and Lisp is the first on that ranking. Is this still accurate? [closed]

His arguments are based on the premise a programmer can see when a language is less powerful than that he is using because the lack of an essential key feature, and that Lisp's macros is a key feature ...
0
votes
2answers
3k views

What is Perl's relation to hackers? [closed]

I know Perl is a language revered by many hackers (as in hacker vs cracker) and respected by many good programmers for its expressiveness. I also realize it is useful to know and it's very handy at ...
25
votes
13answers
4k views

Is it worth to learn Experimental Languages?

I'm a young programmer who desires to work in the field someday as a programmer. I know Java, VB.NET and C#. I want to learn a new language (as I programmer, I know that it is valuable to extend ...
61
votes
9answers
12k views

At what point can I say I've “learned” a language?

In my few years of programming, I've toyed with everything from Ruby to C++. I've done everything from just learning basic syntax (Ruby) to completing several major (for me) projects that stretched ...
8
votes
2answers
605 views

Are there any good use-cases for variable variables?

Today I encountered this little PHP gem called variable variables. $literal = "Hello"; $vv = "literal"; echo $$vv; // => prints "Hello" Are there actually any real use-cases for this language ...
13
votes
3answers
527 views

How compilers know about other classes and their properties?

I'm writing my first programming language that is object orientated and so far so good with create a single 'class'. But, let's say I want to have to classes, say ClassA and ClassB. Provided these ...
7
votes
3answers
242 views

Languages with a clear distinction between subroutines that are purely functional, mutating, state-changing, etc?

Lately I've become more and more frustrated that in most modern programming languages I've worked with (C/C++, C#, F#, Ruby, Python, JS and more) there is very little, if any, language support for ...
3
votes
1answer
3k views

Naming convention for iOS [closed]

I am learning Objective-C and iOS development and not sure what proper naming convention should be used. I understand how to use the label aspect of Obj-C methods but not the proper way to name each ...
4
votes
9answers
696 views

Why are effect-less functions executed?

All the languages I know of would execute something like: i = 0 while i < 100000000 i += 1 ..and you can see it take a noticeable amount of time to execute. Why though, do languages do ...
1
vote
1answer
214 views

Programming for Digital frames

A project has recently come to my attention but i have no idea where to start or even if its possible. The idea revolves around programming a clock that is displayed inside a digital photo frame. The ...
22
votes
7answers
2k views

Why are so many languages passed by value?

Even languages where you have explicit pointer manipulation like C it's always passed by value (you can pass them by reference but that's not the default behavior). What is the benefit of this, why ...
8
votes
5answers
2k views

Benefits of classic OOP over Go-like language

I've been thinking a lot about language design and what elements would be necessary for an "ideal" programming language, and studying Google's Go has led me to question a lot of otherwise common ...
37
votes
3answers
3k views

What is So Unique About Node.js?

Recently there has been a lot of praise for Node.js. I am not a developer that has had much exposure to network application. From my bare understanding of Nodes.js, its strength is: we have only one ...
4
votes
5answers
610 views

What are studies comparing programmer productivity in determined languages/environments?

I'm not sure if I'm using the right terms, but with productivity I mean the concept of transforming an idea/design in actual software.
76
votes
4answers
12k views

What operating systems are used in airplanes, and what programming languages are they developed in?

I was wondering if anyone knows what is the operating system used in commercial airplanes (say Boeing or Airbus). Also, what is the (preferred) real-time programing language? I heard that Ada is used ...
1
vote
2answers
510 views

Programming Language, Turing Completeness and Turing Machine

A programming language is said to be Turing Completeness if it can successfully simulate a universal TM. Let's take functional programming language for example. In functional programming, function ...
1
vote
2answers
156 views

What are/would be the characterists and applications of a programming paradigm where functions can't have statements?

Suppose there is a language where, instead of statements, functions could only be defined in relation to other functions and operators such as partial application and composition. What would be the ...
5
votes
8answers
1k views

Is there a point to writing in C or C++ instead of C# without knowing specifically what would make a program faster?

I wrote a small library in Python for handling the xbox 360's STFS files to be used on my web applications. I would like to rewrite it for use in the many desktop programs people are writing for 360 ...
10
votes
10answers
2k views

Visual programming for serious software

Are visual program control flow diagrams and languages which support that used for larger serious programs? Why not? They seem like a nice overview of the code. In the thread What software ...
16
votes
9answers
2k views

Is it common for a programmer not to know the difference between C and C++? [closed]

During an interview, I was asked whether I knew the difference between C and C++. I was wondering why such question being asked?
4
votes
1answer
1k views

Are the criticisms against Dart valid?

According to this Wikipedia article, Microsoft, Apple, Mozilla, and others criticize Dart, a programming language Google introduced to work in web browsers, because they feel "it seems harmful (cf. ...
1
vote
3answers
205 views

Is there a website that scrapes job postings to determine the popularity of web technologies? [closed]

I'm often in a position where I need to choose between a number of web technologies. These technologies might be programming languages, or web application frameworks, or types of databases, or some ...
6
votes
4answers
1k views

Jack of all trades, master of none [closed]

I've got a question similar to this one: Is constantly looking for code examples a sign of a bad developer? though not entirely. I got off college 2 years ago and I'm currently struggling with a ...
119
votes
26answers
10k views

Is constantly looking for code examples a sign of a bad developer?

I am a CS student with several years of experience in C and C++, and for the last few years I've been constantly working with Java/Objective C doing app development and now I have switched to web ...
0
votes
4answers
718 views

A completely free and open programming language [closed]

With Oracle vs Google trial, it seems that Java is not entirely Open and free (as free software) as I expected. Although there exists completely free/open JVM, it's hard to know what is a copyright ...
6
votes
3answers
386 views

Is there a language where collections can be used as objects without altering the behavior?

Is there a language where collections can be used as objects without altering the behavior? As an example, first, imagine those functions work: function capitalize(str) //suppose this ...
0
votes
0answers
73 views

Is there any officially recognized, specific determinants that make a language programming/scripting? [duplicate]

Possible Duplicate: What is the main difference between Scripting Languages and Programming Languages? I remember when I was first learning web-based programming everyone was intent on ...
0
votes
2answers
1k views

How can I compare between web development technologies? [closed]

I would like experts to explain for me how can I compare between web development tools or technologies in order to be able to choose the right one. I'm tired from searching always in the regular way: ...
12
votes
3answers
399 views

Historical origins of Scala implicits

Scala has been called complex with its rich feature set by many of my colleagues and some even blamed all those new features of it. While most programmers are aware of the OO-features, and at least ...
3
votes
1answer
253 views

Can a language support something like “Retry/Fix”?

I was just wondering if a language could support something like a Retry/Fix block? The answer to this question is probably the reason it's a bad idea or equivalent to something else, but the idea ...
6
votes
8answers
1k views

Why most job offerings are for a <language here> developer, rather than a developer in general? [closed]

In an ideal world: In an excellent article Don't Call Yourself A Programmer, And Other Career Advice, Patrick McKenzie explains, among other things, that language doesn't matter: A developer is a ...
8
votes
2answers
280 views

How were Fortran's original control structures insufficient?

In my Programming Language Concepts class it was mentioned in passing that Fortran's original control structures were insufficient. It was alluded that they were too similar to machine instructions ...
2
votes
7answers
498 views

Should I refactor single letter variables for constructs like pointer/structure names?

And No, i am not referring to single variables in loops or exceptions. Lets say pointer/struct names in large c ,c++ programs . Are there any languages where this type of naming is acceptable or is ...
2
votes
2answers
549 views

What are complete programming languages with a minimal syntax and how is that important? [closed]

With minimal syntax I mean a language that could be entirely described with the least words possible, but complete enough to make any kind of program.
8
votes
3answers
1k views

Why do .NET modules separate module file names from namespaces?

In implementations of the Scheme programming language (R6RS standard) I can import a module as follows: (import (abc def xyz)) The system will try to look for a file $DIR/abc/def/xyz.sls where $DIR ...
8
votes
5answers
3k views

What are the advantages of Ceylon over Java? [closed]

Looking for the recent and powerful upcoming programming languages over net, I came across Ceylon. I dropped in at ceylon-lang.org and it says: Ceylon is deeply influenced by Java. You see, we're ...
11
votes
6answers
1k views

A defense for boilerplate?

To me, boilerplate code is obviously bad. However I've met a developer who displays resistance in any attempt to reduce boilerplate. I realized I didn't have a readily formed, well thought out ...
8
votes
2answers
767 views

Documenting a programming language: Reference Manual

We are looking at revamping documentation across our product line. Part of that includes reference manuals for a programming language used as part of the system. When writing a reference manual for a ...
1
vote
3answers
877 views

Programming language with pattern matching in trees

I'd like to prototype a computer algebra system. An equation would be represented by a tree and rules would be defined - similarly to mathematical axioms - by specifying a pattern (in the tree) and a ...
3
votes
4answers
609 views

Learning the Operating Systems concepts and Programming Languages for elderly

I am not sure if this would be the right forum to ask the question (Please let me know and I will move the question to appropriate forum). I would like to know what can be the best way for elders (in ...
15
votes
5answers
1k views

What is meant by “native support for a feature” in a programming language?

I went through a line somewhat like this "PHP has no native support for Unicode". Also i read that Python has native support for Unicode. Now you can call a function utf8_encode() in PHP to encode a ...
2
votes
1answer
152 views

Should I provide a language reference in addition to a formal specification for the programming language I am designing?

I am designing a programming language, and I would like to provide a complete documentation for it. So far, I have planned to write the following documents: An initial design outline, mostly as a ...
9
votes
6answers
665 views

Is there an infinite amount of knowledge in a programming language?

I can program in Java, C#, C, Scala, and Javascript fluently. I'm comfortable with Objective-C, but I don't remember the conventions used for memory management. I can read Python and Ruby and I've ...
8
votes
1answer
1k views

Is the Mercury Programming Language used in the field?

I've strong interests in Functional and Logic programming and Mercury seems like a good blend of the two. Is it used in industry at all? I'm one to learn a language just for the fun of it but it would ...
7
votes
2answers
507 views

Programming languages, positional languages and natural languages

Some programming languages are modeled on machine code, like assembly languages. Other languages are modeled on a natural language, the English language. Others are not modeled on either machine code ...
-2
votes
1answer
165 views

What's the difference between dictionary word “Scheme” and Computer term “Schema”

What's the difference? In my opinion, I can replace the term "Schema" with "Scheme". Can I?
2
votes
2answers
268 views

How can I effectively discuss language limitations with a client?

I would like to know the ideas that are being used for explaining to the client the limitations of the language used for enhancement of the existing project. Given a scenario was that the project ...