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

-1
votes
3answers
421 views

How can I get assembly from an EXE? [closed]

Pretty much my only question is the title. Other then that I want to see the code behind small EXEs but I know it's hard to get it to convert to something like c or c++ so why not get assembly.
7
votes
2answers
454 views

What's a good math textbook to have on my desk while studying Haskell? [closed]

I just started learning Haskell and it seems like you can't get too far in the language without being comfortable ( or at least exposed ) to certain branches of mathematics. Unfortunately I have major ...
8
votes
1answer
453 views

Math library methods in Google's Go Programming Language

I have been programming in google Golang and have been enjoying it due to its brevity but I find it surprising that almost all its Math standard library methods are for the floating point type. Is ...
1
vote
2answers
273 views

Need some advice and feedback on my code's design

I am looking for feedback on the design of my program. I have a shell script call function.sh that defines a lot of helper functions. My intent is to use those bash functions defined in functions.sh ...
13
votes
4answers
351 views

Fernando J. Corbató's “Constrained languages”

For his 1990 Turing award speech, Fernando J. Corbató listed reasons why complex systems will inevitably fail. In his conclusion, he gives some suggestions for decreasing the probability of failure. ...
2
votes
2answers
327 views

How to fix bad fundamentals? [closed]

I am a native PHP developer, and have been for about a year or so. I love PHP and it was very easy for me to learn, but I have developed some bad habits along the way due to never having a formal ...
29
votes
2answers
2k views

Why is a Boolean value stored as a byte inside of a computer when it only requires one bit

I recently started learning to write code, and in my book I came across this question. "Why is a Boolean value stored as a byte inside of a computer when it only requires one bit?" can someone shed ...
4
votes
8answers
4k views

The most human language like programming language [closed]

I was wondering, there are so many articles about what the best coding languages are. C, C++ Go Haskel lisp java ML F# etc etc. But rarely i see an article about the most human like programming ...
20
votes
4answers
5k views

Why does Java not do type inference?

I have always wondered why Java does not do type inference given that the language is what it is, and its VM is very mature. Google's Go is an example of a language with excellent type inference and ...
3
votes
1answer
117 views

Documentation Generation - FiM++

This is a question I originally asked on Stack Overflow, but as a conceptual design question as opposed to a technical issue, I believe it may be more appropriate, or possibly have alternate parallel ...
2
votes
1answer
3k views

Programming languages classification / taxonomy

Is there a rigorous way to classify programming languages ? If so, can the various "dimensions" be quantified ? (degree of purity) For instance, I just went on the Shade language website (I am not ...
0
votes
3answers
4k views

How to become an expert in C++ [closed]

I have some experience in Java programming and enterprise application development. I have done OOP, data structures in C++ for my undergraduate studies. But I couldn't touch C++ for years. Now I am ...
5
votes
2answers
861 views

Asking people to disable Java for security - what's next for developer?

I don't know what best to give as title to this so pardon me if it sounds weird. I saw this question asked on IT Security and another site asking people to disable Java from their system or browser ...
7
votes
1answer
486 views

Why is the cyclomatic complexity equal to two for a simple Hello World?

I would have two questions related to cyclomatic complexity: Can I use this metric for a whole app? I guess I cannot, as it would be incredibly large number, considering functions calling functions ...
33
votes
8answers
3k views

Are exceptions an OOP concept?

Having read a post yesterday, I realized I did not know much about the origin of exceptions. Is it an OOP related concept only? I tend to think it is, but again there are database exceptions.
9
votes
8answers
682 views

Past If statements Arrays, loops… Now what?

I gave up on programming a little over a year ago when I kept hitting this wall. I am revisiting the subject because I want to create basic Android application. But I feel that my limited knowledge ...
8
votes
3answers
389 views

Would it be better to have extra checks, or would it be a waste of time?

In your opinion, do you think it is a waste of time to make checks that you know there is no possible way of it being there/not being there, or would you just put it there just in case there is a bug ...
1
vote
3answers
2k views

How did Python become popular as a scripting language? [closed]

I looked at it in my field of work, which is film and pretty much every software we use comes with python as a scripting language: http://en.wikipedia.org/wiki/List_of_Python_software That made me ...
87
votes
16answers
25k views

Why aren't user-defined operators more common?

One feature I miss in from functional languages is the idea that operators are just functions, so adding a custom operator is often as simple as adding a function. Many procedural languages allow ...
21
votes
4answers
2k views

I've been told HTML is a markup language, C++ is a programming language, what could make that difference?

My programming friends are always telling me that HTML is a markup language and C++ is a programming language. When I ask them what's the difference, they never give me a reasonable answer. What ...
0
votes
3answers
699 views

What is the reason behind methods with return values and methods with void?

I want to uderstand why there is a method in C# that could reurn a value, for example: public int Accelerate() { Speed++; return Speed; } and a method that does not reurn a value (void)? ...
21
votes
9answers
3k views

Are there any programming languages that follow a minimalist development approach?

I find it that when languages are considered the same as commercial software, there is always a constant need to add new features to justify new releases. Can there be or are there languages where ...
0
votes
1answer
166 views

Did “Viaweb” work in the browser without JavaScript and somehow use only Lisp?

I just read Beating the Averages, and Mr. Graham writes that they had a significant advantage over competitors because they used Lisp. From what I understand, Viaweb was a WYSIWYG editor that ran in ...
3
votes
3answers
430 views

Language for Chess Position Evaluation (experimental) [closed]

My aim is to, via pattern analysis and statistics, (as well as piece mobility and position) build a chess position evaluation analyzer (rather than simply going brute force ply-searching). Id like ...
5
votes
4answers
427 views

How do you migrate from one language to another? [closed]

I know that language is just a tool and it's all about creating product. But if you are all about enterprise and than you change to mobile development - how do you manage it? If I am used to PHP and ...
5
votes
2answers
6k views

How to execute a Ruby file in Java, capable of calling functions from the Java program and receiving primitive-type results?

I do not fully understand what am I asking (lol!), well, in the sense of if it is even possible, that is. If it isn't, sorry. Suppose I have a Java program. It has a Main and a JavaCalculator class. ...
13
votes
2answers
1k views

Advantages and disadvantages of structuring all code via classes and compiling to classes (like Java)

Edit: my language allows for multiple inheritance, unlike Java. I've started designing and developing my own programming language for educational, recreational, and potentially useful purposes. At ...
7
votes
4answers
610 views

Could a programming language work as well without statements?

As programming in JavaScript, I've noticed everything that can be done with statements and blocks can be done with expressions alone. Can a programming language work fine with only expressions? And, ...
1
vote
2answers
674 views

How do I add restrictions for users to sign up before they can access web site?

How do I get my webpage not to go back when they hit the back button and are logged out ? how can I add a web page to be blocked like FACEBOOK doesn't let you get into their site with out having a ...
1
vote
4answers
634 views

What are some non-MS languages that can write xlsx (Excel 2007+) documents efficiently? [closed]

Unfortunately, Excel format is required for the project I am working on. I have no problems getting the data I need in objects and arrays, and currently PHPExcel is doing handling the document ...
6
votes
1answer
276 views

Is there a well grounded theory on backward and forward compatibility of formats, languages, grammars and vocabularies?

I have a friend who has the specific problem of building a case against the use of a custom HTML <wrapper> tag in some site's markup. Now, intuitively we can answer that use of such a tag is ...
0
votes
3answers
444 views

Which language is more suitable heavy file tasks?

I need to write a script (based on basic functions) to process /image/audio/video files. The process is mainly filesystem tasks and converts. The database of files has been stored by mysql. The script ...
3
votes
5answers
462 views

Is this how dynamic language copes with dynamic requirement? [closed]

The question is in the title. I want to have my thinking verified by experienced people. You can add more or disregard my opinion, but give me a reason. Here is an example requirement: Suppose you ...
7
votes
4answers
4k views

Difference between Atomic Operation and Thread Safety?

From the discussion I've seen it seems that atomic operation and thread safety are the same thing, but a lot of people say that they're different. Can anyone tell me the difference if there is one?
6
votes
4answers
10k views

How do I improve my logic in general and programming in particular? [closed]

I'm good with understanding technology and implementing it. At least that is what I feel. But it seems that when I come across experienced programmers they point out that my logic is weak. I feel that ...
7
votes
4answers
1k views

What constitutes a programming language and how does one copyright a programming language?

I've decided to create a programming language of my own, mostly just for fun. However, I got interested in the legal aspect of it all. You can, for example, licence specific programs under specific ...
6
votes
3answers
372 views

What can be done against language inertia? [closed]

Often, projects use programming language X, but would use programming language Y if they were started from scratch. For example, big numerical models may be written entirely in Fortran. Whereas this ...
5
votes
1answer
469 views

Do there exist programming languages where a variable can truly know its own name?

In PHP and Python one can iterate over the local variables and, if there is only once choice where the value matches, you could say that you know what the variable's name is, but this does not always ...
3
votes
1answer
324 views

How is the DOM language independent?

Quoting from Wikipedia The Document Object Model (DOM) is a cross-platform and language-independent convention for representing and interacting with objects in HTML, XHTML and XML documents. and ...
12
votes
3answers
831 views

Has the syntax of any programming language been usability tested?

Before being release to the public, has the syntax of any programming language undergone usability testing? If so, what kinds of testing was performed, what were the results, and what impact did the ...
6
votes
11answers
3k views

KISS principle applied to programming language design?

KISS ("keep it simple, stupid" or "keep it simple stupid", see e.g. here) is an important principle in software development, even though it apparently originated in engineering. Citing from the ...
4
votes
6answers
4k views

Why was Objective-C popularity so sudden on TIOBE index?

I'd like to ask a question that is pretty similar to the one being asked here, but for Objective-C. According to TIOBE rankings, the rise of popularity of Objective-C is unprecedented. This is ...
-1
votes
1answer
215 views

Event driven language for Robotics [closed]

There are several options that are available like C, C++, Matlab and some more. But is there a language that naturally feels like Event programming? For example: If I see a red ball (Event) ---> Do ...
19
votes
2answers
13k views

Sets Data Structure in Golang

I really like google golang but could some one explain what the rationale is for the implementors having left out a basic data structure such as sets from the standard library?
1
vote
4answers
2k views

What programming languages exist for mechatronics purposes?

Is there any specific language which is designed for mechatronics programming? I know about LabView, which is a data flow language, but not sure about its main platform. Could you recommend to me, ...
3
votes
1answer
2k views

Container types in Golang

For a non-OOP language like google Go, is it idiomatic to go about implementing new container types using datatypes like arrays or lists so as to implement convenient functionality like contains ...
6
votes
1answer
444 views

Why do generics in Scala have erased types, and are not reifiable?

Why do generics in Scala have erased types, and are not reifiable? Is it due to lack of support from the JVM or for compatibility with Java libraries? What are the advantages in general of having ...
8
votes
5answers
671 views

Are there programming languages that allow you to do set arithmetic on types?

Out of curiosity, are there languages that allow you to do set arithmetic on types to create new types? Something like: interface A { void a(); void b(); } interface B { void b(); void ...
22
votes
7answers
2k views

What does it mean that “language A is written in language B”?

I often hear the term that language A is written in language B. For example, PHP has been written C, C# is written in C++. Can someone please explain what does that mean and if it is even correct? ...
2
votes
1answer
279 views

Expanding existing DVCS Wiki [closed]

A portion of my job is to maintain technical documentation for a rapidly expanding manufacturing company. Because it is only a portion of my job and the company's product line is expanding so ...