Questions tagged [programming-languages]

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

A programming language is an artificial language designed to express computations that can be performed by a machine, particularly a computer. Programming languages can be used to create programs that control the behavior of a machine, to express algorithms precisely, or as a mode of human communication.

Many programming languages have some form of written specification of their syntax (form) and semantics (meaning). Some languages are defined by a specification document. For example, the C programming language is specified by an ISO Standard. Other languages, such as Perl, have a dominant implementation that is used as a reference.

The earliest programming languages predate the invention of the computer, and were used to direct the behavior of machines such as Jacquard looms and player pianos. Thousands of different programming languages have been created, mainly in the computer field, with many more being created every year. Most programming languages describe computation in an imperative style, i.e., as a sequence of commands, although some languages, such as those that support functional programming or logic programming, use alternative forms of description.

From Wikipedia

1403 questions
112
votes
14 answers

How can I really master a programming language?

I know that learning a language, you can simply buy a book, follow the examples, and whenever possible try the exercises. But what I'm really looking is how to master the language once you've learned it. Now I know that experience is one major…
cprogcr
  • 661
104
votes
18 answers

Why is verbosity bad for a programming language?

I have seen many people around complaining about verbosity in programming languages. I find that, within some bounds, the more verbose a programming language is, the better it is to understand. I think that verbosity also reinforces writing clearer…
67
votes
10 answers

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 my abilities with the language. Given this…
SomeKittens
  • 4,240
59
votes
93 answers

What do you consider the 1st principle(s) of programming?

I always liked to ask myself "what's the first principle(s) of this?" after I learned the basic stuff of something (e.g. programming). It's an inspiring question, IMO, that can force you to think about the most important principle(s) behind…
Weipeng
  • 889
  • 1
  • 9
  • 8
57
votes
3 answers

Putting a programming language on your resume?

How much experience do you need in a language before you can put it on your resume? There is one language I'm in proficient in (Java) which I would definitely put on the resume but say I took I couple of semester courses in college which involved…
GTL
52
votes
15 answers

Why are there so many programming languages? Why are new languages still being made?

Why are there so many programming languages? And what prompts someone to create a programming languages in spite of the fact that other languages already exist?
Moshe
  • 5,012
47
votes
9 answers

What is the most orthogonal programming language?

I find myself repeatedly annoyed by having to teach freshmen about special language rules (like array-to-pointer decay) that have absolutely nothing to do with programming in itself. So I wondered: What is the programming language with the smallest…
fredoverflow
  • 6,874
44
votes
26 answers

The most mind-bending programming language?

From a reasonably common programming language, which do you find to be the most mind-bending? I have been listening to a lot of programming podcasts and taking some time to learn some new languages that are being considered upcoming, and important.…
Jé Queue
  • 3,927
42
votes
13 answers

Why do you have to specify the data type when declaring variables?

In most coding languages (if not all) you need to declare variables. For example in C# if its a number field then int PhoneNumber If I'm using normal English language I do not need to declare PhoneNumber as int to use it. For example if I ask my…
42
votes
7 answers

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…
Anirudh
41
votes
11 answers

Why aren't there automated translators from one programming language to another?

Most programming languages are Turing complete, which means that any task that can be solved in one language can be solved in another one, or even on Turing machine. Then why aren't there automatic translators that can convert programs from any…
serg
  • 2,087
34
votes
9 answers

Why are structs/arrays zero based?

How was it decided that if you have an array/struct or anything similiar in a programming language it should be zero-based? Wouldn't it have been easier if it was 1-based. Afer all, when we are taught to count, we start with one.
RHPT
  • 1,001
32
votes
14 answers

Is it possible to combine programming languages?

I've been programming for a while, I've written some rudimentary programs, and I want to keep learning. I've reached that point where you just don't know what to learn next, and I'd like to ask a question for my own curiosity. The question, in a…
Bugster
  • 4,013
  • 8
  • 38
  • 44
31
votes
9 answers

How many types of programming languages are there?

Basically, I want to learn lots of programming languages to become a great programmer. I know only a handful to depth and I was hoping someone could elaborate on how many classes or types of programming languages there are. Like how you would lump…
sova
  • 1,412
30
votes
1 answer

What is ¬ called and what is it for?

Googling this question has proved somewhat useless, so the ¬ symbol: What is it for? What is is called? Is it used in any programming languages?
BanksySan
  • 724
1
2 3
9 10