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

2
votes
1answer
54 views

Returning the object/$this [duplicate]

A very general question. I was thinking about method chaining, which seems useful, and began wondering if there is a reason to not return the object in a class member, as a matter of course. For ...
-6
votes
0answers
64 views

How much do I need to learn in java [on hold]

I have learnt some programming concepts in java like classes, objects, inheritance, polymorphism I have even learnt about some data structures and algorithms like List, trees, BST, AVL,graphs, MST, ...
-3
votes
1answer
67 views

For a beginner, should the adoption of a language determine which version to learn? [on hold]

I've been using C# and Java at my workplace for about 5 years and I'm thinking about learning a new language, say Python. Many of my coworkers have told me that Python is a great language, but I ...
-4
votes
0answers
54 views

As a CS student 1st year, what should i learn and when? [on hold]

I'm studying computer engineering in a university here in Turkey, but the syllabus is mostly a mix of computer science and software engineering, so nothing to do with building CPU's or that sort, ...
-5
votes
0answers
41 views

which language is best to learn [on hold]

i know c,c++,html&css and basic java-script , i want to know that for which next language i should go for? i am totally confuse in ruby,java,php,asp,python,.net which should i start learning?? I ...
1
vote
2answers
87 views

What is meant by “redundant, but not duplicative” in the Steelman language requirements?

The Steelman language requirements have this: The language shall require some redundant, but not duplicative, specifications in programs. I think I can see the underlying idea (that re-stating ...
1
vote
1answer
132 views

Modern OOP vs Alan Kays OOP [closed]

I've recently come to discover there's actually a strong amount of criticism towards what people refer to as "modern OOP" - often comparing it to either functional programming or Alan Kays' OOP. ...
-2
votes
0answers
54 views

What adjective describes coding style of PHP (or Java, Javascript?) [closed]

In Python, code is generally called "Pythonic" if it properly uses the easily readable and writable features of the language - for-in loops, list comprehensions, etc. What adjective can you use to ...
-4
votes
0answers
111 views

Java and C# is confusing me a lot. Any explanation on the difference between the two? [closed]

I'm new to programming and I'm still confused as to what is the difference between Java and C# and what are the benefits of both and which is better for programming.
-4
votes
2answers
169 views

Company decides standard language for all development, or coder can pick their own standard…so that is the standard? What is the norm? [closed]

Our company is moving from IBM mainframe environment and coding, to an OO environment. Is it possible...or is it correct/plausable to NOT have any standard whatsoever with regard to the server side ...
-2
votes
1answer
88 views

How to become a programmer ? [closed]

Im a newbie in this site and i wanted to learn programming language. I am not taking up any programming courses and it mean to say, i have no idea in this matter. But i am eager to learn, the only ...
10
votes
4answers
708 views

Historical precedent for why Prolog is less popular than SQL in Imperative Programming? [closed]

It seems that writing Declarative SQL is very popular in Imperative Programming. However, it also seems that writing Declarative Prolog could save a lot of complexity but this is not very common. ...
1
vote
0answers
119 views

Haskell, Rust, or D for POSIX shell implementation? [closed]

I am planning on writing my own Bourne shell. It will be full-featured, capable of being used as a system /bin/sh. The shell will be implemented very differently from other Bourne shells, however. ...
0
votes
0answers
51 views

Pre-Compilation Processor:

What I want to do: Parse source code, search for a beginning and closing tag of my own definition (one that does not conflict with any defined patterns in the programming language), and then replace ...
-1
votes
0answers
35 views

Why are vectorized loops slower than unvectorized loops in Julia

I'm new to Julia and noticed that this article mentioned unvectorized code being faster than vectorized code. Why is this? I always thought vectorized loops are faster than unvectorized loops because ...
4
votes
7answers
676 views

Why are self-hosting compilers considered a rite of passage for new languages?

I've heard in a number of places now that people expect languages to use, or at least have, a self-hosting compiler in order to deserve respect. I'm curious as to why this is. A compiler seems like a ...
1
vote
3answers
273 views

type infered statically typed languages?

are there any typeless typesafe languages? By typesafe I mean types are checked at compile time. By typeless I mean types are not declared. I know this is easier than it sounds, maybe even impossible ...
0
votes
1answer
114 views

How would one allow a client to query a graph database in Smalltalk, without exposing all of Smalltalk? [closed]

Is there any example of Smalltalk being used as a query language? What I am looking for is: a system or an application where the Smalltalk nature of the application is hidden or irrelevant to the ...
-1
votes
0answers
13 views

How to stop copying into array using fscanf when its the end of the line? [migrated]

I have a file that has lines like Bob, 2,3,13,4 Jim 3,4,15,3 ... and I'm trying to copy into my numbers array only the integers in each line, so that I could do some math with them. Problem is, I ...
0
votes
0answers
49 views

Enumerating programs as graphs, or executing graphs? [migrated]

Graphs have nodes connected together by edges, for example (not directed, not including connecting nodes to themselves, or multiple connections between the same two nodes) 2 graphs exist with 3 nodes, ...
0
votes
0answers
14 views

Why aren't we researching more towards compile time guarantees? [migrated]

I love all that is compile time and I love the idea that once you compile a program a lot of guarantees are made about it's execution. Generally speaking a static type system (Haskell, C++, ...) seems ...
-5
votes
1answer
103 views

What is the purpose of Deprecation? [closed]

Is it just giving different names to previously named method? Does it change with the language you use? Is it essential? I have noticed different APIs having deprecated methods, which actually seem ...
-2
votes
4answers
147 views

Real AI in a compiled language [closed]

possibly a newbie question here. I heard that if a real AI were to exist it would have to evolve, by that I think it means it should be able to write new code then run itself with the new code. Could ...
0
votes
3answers
254 views

Using PHP or C++ for in real world electronic devices

I want to use my programing skills to make my day-to-day life easier, to do this I want to be able to program in my appliances like alarm clock or microwave or refrigerator, air conditioner etc, wish ...
14
votes
3answers
399 views

Is there any mechanism to make programming language more stable(compatible) for changes?

There are a big number of programming languages. Some of them grow up and become very popular. People use such languages more and more often. The founder of such language (or founding ...
0
votes
3answers
162 views

Reference counting & GC in LISP [closed]

What is the main method for reclaiming the memory in LISP? Does LISP really need garbage collection? Would not reference counts suffice? I just wanted to know whether reference counts are enough ...
13
votes
10answers
2k views

Can objects constructed from the same class have unique method definitions?

I know this seems like a weird question, since the point of two or more objects sharing the same class is that their behavior is the same, i.e. their methods are identical. However, I'm curious if ...
-3
votes
3answers
127 views

What programming languages are most suitable for implementing design patterns? [closed]

What programming language is best for implementing design patterns, (Factory , etc) especially for example if I need to develop a engineer scheduling system in less than a month. Would Java be my ...
0
votes
0answers
42 views

Developing a “time scheduler” app [duplicate]

I need to develop an application to generate, given a set of preferences and constraints, a time schedule for employees. These tables can really get complex and they might need to take into account ...
-3
votes
3answers
283 views

What is meant by Open Source Programming Language? [closed]

What does it mean when we say that it is an open source programming language? I mean is it the implementation (compiler/runtime) of the language which can be open or close in nature or something else. ...
-4
votes
1answer
118 views

Eliminating choices of programming languages? [closed]

There are a number of programming languages available today. My question is given a specific job what is the criteria one should use to eliminate other programming language choices which serve the ...
0
votes
1answer
112 views

What to do if a feature is not supported natively on a platform? [closed]

If a feature is not supported on a platform natively what would a programmer do? For example, when building an iphone app, if you are trying to slide a picture(just as an example- I know you can slide ...
6
votes
2answers
612 views

What is the relationship between lambda calculus and programming languages? [closed]

I am starting my first year (in college) in Computer Science next year and I write mostly in C (if that is to matter). I have tried searching but most of what I find assumes knowledge of lambda ...
-5
votes
1answer
115 views

How can I start making a programming language? [duplicate]

my question is this; How do I start making a programming language? By this I mean not an interpreted language, but I want to know how do I start from the machine code and work up, like the first ...
1
vote
3answers
436 views

Is it possible to have a dynamically typed language without duck typing? [closed]

This question has been asked here, but received poor answers and didn't clarify the issue. I believe it justifies asking it again. I understand that you can have duck typing with either dynamically ...
0
votes
0answers
73 views

Best way to handle language interoperability

Background In a language like F#, direct interoperability with most other .NET languages is possible. For example, it is possible to use classes written in C# directly in F#, and it is possible to ...
0
votes
1answer
108 views

Order of Operations Annoyance [duplicate]

In most programming languages (C#, JavaScript, Java) the order of operations precedence has that equality comparison come BEFORE bitwise comparisons. This means that if you have a bit operation and ...
22
votes
4answers
3k views

Choosing a Programming Language Systematically [closed]

I am looking for a methodology for choosing a language. I am not asking for opinions about languages. I have been tasked with the process of comparing our shop's current language with others that are ...
3
votes
2answers
394 views

Are there any OO languages without inheritance?

During a code review today, a colleague of mine said something interesting: prototype is only useful when you need inheritance - and when's inheritance ever a good idea? I thought about this and ...
5
votes
4answers
559 views

When does it make sense to compile my own language to C code first?

When designing an own programming language, when does it make sense to write a converter that takes the source code and converts it to C or C++ code so that I can use an existing compiler like gcc to ...
1
vote
1answer
264 views

Which programming language first came up with the finally block?

Which programming language first came up with the finally block? I ask purely out of curiosity. It is a very useful piece of syntactic sugar, and whoever first created it surely has a very ...
18
votes
5answers
2k views

Why is type inference useful?

I read code way more often than I write code, and I'm assuming that most of the programmers working on industrial software do this. The advantage of type inference I assume is less verbosity and less ...
2
votes
1answer
302 views

Do compilers un-inline recurrent expressions?

Does a compiler look for recurrent expressions to convert it into 'function' to reduce binary size and improve performance? Of course, the obvious answer might be "some do it, some don't", so I ask ...
2
votes
2answers
533 views

What is the difference between if('' == $variable) and if($variable == '') [duplicate]

While using an 'if' statement to check whether a variable is an empty string or not we can write it in two ways i.e. if('' == $variable) and if($variable == ''). I want to know what is the impact of ...
0
votes
1answer
189 views

Static typing vs. dynamic typing [closed]

I'm developing my own programming language in my spare time as a hobby. It's an interpreted language. Currently the syntax for variables is this: %<variable> = <value> Here are some ...
0
votes
1answer
107 views

What are factors to take into consideration in choosing a programming language/paradigm for a rule-based natural-language translation program?

I have experience with object-oriented programming languages (C++ and Java), but I am wondering what kinds of programming languages — including OOP languages– or programming paradigms might be ...
0
votes
2answers
122 views

Finding metrics for development time in different languages [closed]

I'm trying to determine if a language I'm investigating (Groovy) is better for developing enterprise applications than our current language (Java). Specifically I'm trying to figure out if it will ...
3
votes
2answers
125 views

What is the extent of programming language localization dialects?

Apple's scripting language AppleScript was designed with localization in mind; allowing the language to be represented in multiple dialects resembling languages from around the world. In this way, ...
2
votes
3answers
428 views

Find all possible subarrays of an Array

I am lost I just can't seem to get my head around backtracking/recursion approaches. I understand how simple recursion problems like factorials work I can even trace those by hand. But when it comes ...
0
votes
3answers
277 views

How should I “dig deeper” as a web developer? [closed]

I am currently a full-stack web developer working mainly in Ruby/Rails/Javascript. The languages I use on a daily basis (ruby, css, javascript, php) are great, but they are very dynamic, high level ...