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

0
votes
0answers
23 views

Mastering a programming language [on hold]

I'm second year C.S student and in years of my study I tried learning different programming language. but as may some experienced, if you do not use that language for a while, you definitely lose your ...
0
votes
0answers
7 views

SuperCollider not audible on headphone [migrated]

I am just beginning to learn audio programming using supercollider. When I play a sound I am able to hear it on speakers but not headphone. I get the following message on starting server - ...
-2
votes
0answers
105 views

How can I create a basic programming language? [on hold]

I understand that I'll need a proper grammatic framework and terminology, etc. I'm asking how actually do I write a programming language? Where do I, and how, I write some code that will start ...
0
votes
1answer
173 views

Are there still prospect of a 5GL programming language in mainstream use?

There are a lot of web applications that are letting people design websites without any knowledge of programming languages at all. Not all of them having the same amount of usability and features as ...
0
votes
0answers
74 views

How to become .net programmer without going to a computer institute? [on hold]

How to become .net programmer without going to a computer institute ? Is there any free tutorial site which has free learning material given online ?
6
votes
4answers
903 views

Writing a new programming language - when and how to bootstrap datastructures?

I'm in the process of writing my own programming language which, thus far, has been going great in terms of what I set out to accomplish. However, now, I'd like to bootstrap some pre-existing data ...
-7
votes
0answers
48 views

i have this project to do its about matrix in [on hold]

well i have to write a Java program to perform matrix multiplication. The program should read two matrices (the value of the matrices should come from two different files, for example Matrix1.txt and ...
-1
votes
0answers
39 views

List of common task to make programs? [on hold]

I wonder if is already defined/know what task as generic to any programing task. For example, is very common the need to sort & search, not matter if is about arrays, list, files or tables. ...
1
vote
1answer
107 views

what is a language specification?

Either I am being a total n00b or just not with it today but I have been reading a few blogs lately and they talk about language specs. What actually is a language spec? Is php.net a language spec? ...
1
vote
0answers
113 views

What next steps to gain contributors to my programming language Wake? [closed]

I have spent several months creating the language Wake. It is now in alpha status, meaning its highly usable but still has many planned features -- features which will be slow to create with only one ...
-6
votes
0answers
39 views

question use C++ [closed]

a) A travelling salesman records his mileage at the end of each week in order to make an accurate claim for expenses. Write instructions to: Input the date and the number of miles ...
4
votes
3answers
227 views

Declaring variables in Python and PHP

The question is how to cope with absence of variable declaration in Python, PHP, and the like. In most languages there is a way to let the compiler know whether I introduce a new variable or refer to ...
12
votes
11answers
3k views

Can a closed-source programming language survive? [closed]

A friend has written a programming language. It has a syntax reminiscent of SGML. He has written an interpreter for it, and an IDE. He and his colleagues use it in-house as a server-side language. It ...
1
vote
0answers
450 views

Could the trivium be used to successfully teach programming languages? [closed]

The trivium is a systematic method of critical thinking for deriving certainty from any information which is comprised of: grammar logic rhetoric Joseph, Sister Miriam (2002). in The Trivium: ...
-3
votes
0answers
54 views

Will vb.net ever get a toolset for unmanaged memory manipulation? [closed]

I've written thousands of lines of code in all the major languages, yet vb.net is my favorite by far. IMO it's the fastest language to develop things in because it's easy to read, has a mature ...
19
votes
4answers
17k views

Is Python Interpreted or Compiled?

This is just a wondering I had while reading about interpreted and compiled languages. Ruby is no doubt an interpreted language, since source code is compiled by an interpreter at the point of ...
2
votes
3answers
310 views

Choosing language to write general library in

I'm about to start writing a library to support machine learning algorithms (decision trees, ANNs, Bayes nets, etc.), and I'm planning on making this a very general library. By this, I mean I want to ...
2
votes
1answer
223 views

How to process large files in NetLogo?

I am running into problems in NetLogo with large *.csv / *.txt files. The documents can consist of about 1 million data sets and I need to read them (to eventually create a diagram based on the ...
2
votes
4answers
317 views

Practice programming guidance [closed]

I am a recent graduate so I understand a lot of the theory, object-oriented languages, and various data structures. I am competent in languages such as C++, Java, PHP, just to name the ones I'm ...
31
votes
10answers
2k views

What mistakes do language writers often make which doom their language? [closed]

Are there common mistakes that language creators make that prevent or slow the adoption of their language? An example (though perhaps not a good one): they focus more on language semantics than tool ...
10
votes
8answers
6k views

Why does C dominate in the embedded software market?

Almost everyone will now say the blessing: performance! Okay, C does allow to write athletic code. But there are other languages that can do so, after all! And the optimising power of modern ...
5
votes
5answers
1k views

What negative consequences can arise from this language design rule?

Clarification: the rule is meant to prevent accessing variables that are not declared yet. Clarification 2: the rule mandates that the compiler follows calls to functions which are defined in the ...
3
votes
0answers
81 views

Pros and cons of teaching a pseudolanguage to beginners [closed]

What are the pros and cons of teaching programming to teenagers using a pseudocode-based language for one whole year? Clarification: in Brazil, we have the so called "Portugol" which is a language ...
24
votes
6answers
8k views

Programming language usage at Google

I have heard Google uses Python, Java and C++. But what I don't know is how is each of those programming language is used. I mean what is Python, Java and C++ is used for at Google. Why would they ...
3
votes
5answers
808 views

Does this kind of programming language exist?

I'm thinking about creating my own pet programming language, and I have been wondering if similar language already exists. The basic idea is that the language itself would be dynamically typed with ...
54
votes
16answers
19k views

How to handle divide by zero in a language that doesn't support exceptions?

I'm in the middle of developing a new programming language to solve some business requirements, and this language is targeted at novice users. So there is no support for exception handling in the ...
5
votes
7answers
668 views

Why isn't there a next operation on enums?

In most popular programming languages like Java and C# there is a way to define enums, which are essentially datatypes with a fixed set of values, e.g. DayOfWeek. The problem is, given a value, e.g. ...
4
votes
3answers
166 views

Is this a viable approach to resolving multiple matches in a lexer?

I'm writing a lexer in JavaScript. It's pretty typical - rules are specified with regular expressions and produce a token. I am unsure of the best way to handle when multiple rules are matched. The ...
1
vote
0answers
143 views

“Columnar” programming language [closed]

There are column-oriented databases, like HBase or Teradata. My question is whether there are programming language implementations that store the objests/structures in a similar format when they are ...
27
votes
5answers
3k views

Why do some functional programming languages use a space for function application?

Having looked at some languages for functional programming, I always wondered why some fp-languages use one or more whitespace characters for function application (and definition), whereas most (all?) ...
1
vote
2answers
123 views

Can a version of Python's shelve module that knows when its entries have been modified be written in any programming language?

shelve is a Python module that makes it easy to persist a Python dictionary to disk (under the right conditions). The documentation for shelve gives this example to demonstrate one of the pitfalls of ...
28
votes
2answers
1k views

First ATMs programming language

First ATMs performed tasks like a cash dispenser, they were offline machines which worked with punch cards impregnated with Carbon and a 6-digit PIN code. Maximum withdrawal with a card was 10 pounds ...
28
votes
6answers
3k views

Why isn't testing a language a supported feature at the syntax level?

You can find an endless list of blogs, articles and websites promoting the benefits of unit testing your source code. It's almost guaranteed that the developers who programmed the compilers for Java, ...
4
votes
1answer
315 views

How do programming languages integrate with OS runtimes

For example, Objective-C, Swift and Ruby (i.e. RubyMotion) integrate with the Cocoa framework. Is this done via linked libraries? I assume they call functions in existing binaries instead of simply ...
0
votes
3answers
159 views

is there any language that supports automatic evaluation of input expressions?

I'm wondering if anyone knows of a language that supports automatic-evaluation. (not sure this is the right term. so let me describe what I mean below) For example, a program asks for an int as its ...
35
votes
4answers
4k views

Is there a correlation between the scale of the project and the strictness of the language?

Explaining the difference between strictness of languages and paradigms to a colleague of mine, I ended up asserting that: Tolerant languages, such as dynamic and interpreted languages, are used ...
35
votes
9answers
11k views

Why is String immutable in Java?

I couldn't understand the reason of it. I always use String class like other developers, but when I modify the value of it, I need to create new instance of String. What might be the reason of ...
2
votes
2answers
258 views

What are the benefits of learning an old programming language? [duplicate]

I plan to learn programming languages like C and AWK since a lot of people said that what I will learn in C can be applied to a lot of modern programming languages and I plan to learn AWK because I ...
1
vote
2answers
274 views

is JS a gradually typed language?

I was researching on statically typed and dynamically typed concepts and found out there is another type system called gradually typed. From wikipedia Gradual typing is a type system in which ...
-1
votes
2answers
178 views

Is PHP the only popular language that mixes simple and associative arrays into a single type? [closed]

I'm doing a research on PHP and wondering if there any other commonly used programming langues that use an associative array for both simple indexed element storage and key-value functionality. Does ...
1
vote
8answers
671 views

How do people make money by writing programming languages? [closed]

Why will anyone even attempt to write a programming language? It seems to be a tedious task and the alternative (simply using an existing language) seems to make much more economical sense. ...
-1
votes
1answer
150 views

All programming functions always return to the If or If/Else statement? [closed]

After learning, coding, and coding even more than ever now, I have noticed a trend in a lot of programming which I do. The trend is that the majority of my functions are if{} or if{} else{} statements ...
11
votes
4answers
710 views

Standards for reading code out loud?

Has anyone defined a standard for reading code out loud, for any language? I imagine this is important to software like screen readers for the vision-impaired. This sort of thing also comes up when ...
11
votes
5answers
981 views

Is it beneficial to study past the basics of a core language when the primary goal is to rely on its framework? [closed]

Please keep in mind this is not another 'How much [insert programming language here] should I know before moving onto [insert framework here]?' What I'd like to know is how beneficial is it to learn ...
0
votes
3answers
118 views

How to get an image or rectangle to detect collision with another image

Can someone please explain to me how to detect collision with another image? The tutorial I was watching explained how to detect if a collision occurs between two rectangles but I would like to use ...
3
votes
3answers
483 views

Choosing the right language for the job

I'm currently working for a company on the engineering team of about 5-6 people and have been given the job of heading up the redesign of an embedded system tester. We've decided the general ...
-3
votes
3answers
139 views

Determine Programming Language Used for Project Based on Source Code

Is there an easy way to determine which programming languages were used in a project assuming you have access to the source code? I have been programming for quite some time, so I can recognize most ...
2
votes
1answer
353 views

Why are most functional programming languages also interpreted languages?

Functional/non-functional and interpreted/compiled are two different categorizations, yet it seems that there are a lot of overlaps in the programming languages that fall under those categories. Is ...
3
votes
1answer
191 views

High-level description of how experimental C++ features are developed?

Herb Sutter in a video answers a question about the concepts proposal considered for C++11 and from his remarks it sounds like multiple groups offered prototype implementations but all of them left ...
4
votes
1answer
364 views

Is there an imperative language with a Haskell-like type system? [closed]

I've tried to learn Haskell a few times over the last few years, and, maybe because I know mainly scripting languages, the functional-ness of it has always bothered me (monads seem like a huge mess ...