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

46
votes
16answers
17k 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 ...
0
votes
0answers
56 views

Proprietary languages [on hold]

A company that I work for have a valued reason for adopting a proprietary language, which is highly efficient in the work that they do, moreso over other mainstream languages. I was told that syntax ...
5
votes
7answers
619 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
165 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 ...
0
votes
0answers
64 views

How to get “wired in”? (reference from the The Social Network) [on hold]

Just finished watching The Social Network again, the movie about Mark Zuckerberg. One thing that really intrigued me, partly because I can't do anything like it, is how the programmers got "wired in", ...
0
votes
1answer
274 views

Break from loop, in a loop, a loop? [on hold]

There is a command in many programming languages to exit loop, break. The problem is break doesn't mean to break or damage something, but mean exit a loop. So, how to say, break from a loop (as ...
-2
votes
0answers
45 views

Following up Codecademy [on hold]

What are some good free online resources for learning CSS and html, past the beginner level? Everything I have seen so far online that is more advanced isn't free. Any suggestions?
1
vote
0answers
135 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 ...
-4
votes
4answers
628 views

What is the lowest level that you can program? [closed]

At university we had to implement our own program counter in microcode and I doubt that it's possible to do computer programming at a lower level. Then we wrote the interrupt handler in assembly for ...
26
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?) ...
-3
votes
1answer
56 views

What do the different [main] programming languages specialize in? [closed]

I am somewhat new to the world of programming. I have taught myself to use C++/C/C# to accomplish moderate-level tasks (I programmed a robot a team of engineering students, myself included, are ...
-3
votes
0answers
36 views

Bluetooth 4 communication function and programming languages [closed]

I have a Bluetooth 4 controller that works with an iOS app fine. What I am attempting to do is create a JavaScript that will replace the iOS app in function. For example, go to a browser, load a ...
1
vote
2answers
116 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 ...
-1
votes
0answers
148 views

Picking a language for writing code [closed]

I'm in a situation, which I guess would've been encountered by all professional programmers at some point. For the same of rapid development, I chose to write modules in python. Soon, in our perf ...
-2
votes
1answer
36 views

Language to learn for Windows Application Programming [closed]

I am here to identify, and come to a conclusion on which programming language to learn for Windows Application Programming. I want to Program Apps for Windows, but I am not sure which language would ...
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
0answers
82 views

Two most similar programming languages of different origin [closed]

Just for the fun of it, what are the 2 programming languages, that aren't directly linked in some way, but ended up very similar? No direct descendants, like JavaScript / CoffeScript. No languages ...
4
votes
1answer
309 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
158 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 ...
33
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
3answers
251 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 ...
-4
votes
1answer
187 views

High level languages compared with visual programming environments [closed]

Could I have a professional view on the effectiveness of visual block-based programming environments ( a program such as 'blockly' or 'scratch' or 'app inventor') in comparison to high level ...
1
vote
2answers
269 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
669 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
147 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
702 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
975 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 ...
2
votes
1answer
210 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 ...
0
votes
3answers
107 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
478 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
129 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
334 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
0answers
27 views

Dealing with a gfortran error? [migrated]

I usually do some pieces of code in Fortran and C for my job, but since some days ago I get the following error: $ gfortran D.f -o D.x gfortran: error trying to exec 'f951': execvp: No such file or ...
3
votes
1answer
186 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
351 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 ...
4
votes
3answers
282 views

Comparison of languages by usage type? [closed]

Does anyone know of a good place to go find comparisons of programming languages by the intended platform/usage? Basically, what I want to know, is of the more popular languages, which ones are meant ...
1
vote
0answers
69 views

How do references work in R?

I'm finding R confusing because it has such a different notion of reference than I am used to in languages like C, Java, Javascript... Ruby, Python, C++, well, pretty much any language I have ever ...
1
vote
3answers
444 views

Does a programming language increase/decrease value? [closed]

Let's say you develop a software program for Windows in C#, then Joe Blow develops the same software program for Windows but instead codes it using C++. If Joe Blow were to sell that software program, ...
1
vote
1answer
152 views

Object-Oriented equivalent of LISP's progn function?

I'm currently writing a LISP parser that iterates through some AutoLISP code and does its best to make it a little easier to read (changing prefix notation to infix notation, changing setq assignments ...
49
votes
11answers
13k views

Why has C prevailed over Pascal?

My understanding is that in the 1980s, and perhaps in the 1990s too, Pascal and C were pretty much head-to-head as production languages. Is the ultimate demise of Pascal only due to Borland's neglect ...
129
votes
26answers
12k 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 ...
2
votes
5answers
449 views

Should sanity be a property of a programmer or a program? [closed]

I design and implement languages, that can range from object notations to markup languages. In many cases I have considered restrictions in favor of sanity (common knowledge), like in the case of ...
8
votes
0answers
1k views

What are the licensing terms for the Swift Programming Language? [closed]

What are the licensing terms of the Swift Programming Language, the API, and runtime? The only mention I have been able to find is from the Copyright and Notices section of Apple's The Swift ...
-3
votes
1answer
80 views

How to make a non-english clone of CoffeeScript? [closed]

I want to make a non-english programming language that is identical to what CoffeeScript is to JavaScript. What I mean is that I don't want to build my own design or syntax. Just want to have a ...
19
votes
9answers
27k views

How many types of programming languages are there? [closed]

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 ...
13
votes
5answers
1k views

Dealing with not knowing parameter names of a function when you're calling it

Here's a programming/language problem I'd like to hear your thoughts on. We have developed conventions that most programmers (should) follow that aren't a part of the languages syntax but serve to ...
0
votes
2answers
209 views

What happened to VM based deployments?

Watched some MountainWest RubyConf 2014 talks and noticed an interesting theme. Many dynamic programming environments back in the old days used to be self-contained VM images, e.g. SmallTalk, ...