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

5
votes
2answers
103 views

Are there languages that expand on the STL's iterator types?

Many languages use the concept of an iterator. The c++ STL expands on this with input iterators, output iterators, forward, bidirectional, random access and others. As far as I know, these ...
1
vote
0answers
104 views

Which lower-level language is most similar to javascript? [closed]

When I say lower-level language, I'm talking about something that compiles to machine code as opposed to being interpreted or compiling to CIL/etc. Is there a lower-level language that bears ...
1
vote
1answer
174 views

How much inconsistency arises from Javascript's high flexibility?

I'll admit it, I haven't yet mastered the language, but my experience with it tells me that Javascript is a highly flexible language, allowing prototypal inheritance, dynamic typing, functions as ...
-3
votes
0answers
111 views

In terms of job opportunities in software engineering, which language is best to specialize in? [closed]

What brings this question to mind is I'm considering two grad programs in CS. One appears to be mostly based in Java, and one appears to be mostly based in C++. Should this factor into my decision?
-4
votes
0answers
98 views

Do you still remember your first line of code? [closed]

I don't think so this can part of stackoverflow regular questions, so have tagged wiki. This question was raised because of certain thoughts of memories going around while i was doing some coding. I ...
-1
votes
0answers
180 views

Is there a reputation that C# and Java is for work while Ruby or Python is for fun? Why? [closed]

I heard this several times online or from colleagues. Many people use C# or Java at work-related project, but prefers Ruby or Python for fun or hobby-oriented projects. For example, in his blog post, ...
-1
votes
1answer
143 views

Language Learning: Well documented C projects? [closed]

I started to learn programming in Java. Most projects, especially the standard library, are documented quite well. So well, that you actually often don't need more then the HTML documentation to learn ...
-6
votes
0answers
69 views

Being developer in London [closed]

I am a Web Developer in PHP, and also know Javascript and some bit of CSS which is needed for web development. I use Symfony framework to build Websites and Web Application. As now i want to learn new ...
3
votes
3answers
309 views

How is referential transparency enforced?

In FP languages, calling a function with the same parameters over and over again returns the same result over and over again (i.e. referential transparency). But a function like this (pseudo-code): ...
-5
votes
0answers
58 views

Replacement for Hello World [closed]

If it was not "Hello World" what would have been the string that introduced everyone to Programming.. Graham Bell said "Hello", what would a programmer have said.. lets say D.Ritchie. what would have ...
1
vote
1answer
131 views

“Generators are function derivatives”

I am reading this article on a new feature of ECMAscript 6, generators, that are landing in the V8 JavaScript interpreter. Not too far from the top, the author suggests an analogy: generators are ...
5
votes
3answers
331 views

Whatever happened to Pascal? [duplicate]

In reading this blog post about Photoshop 1.0 I was surprised to learn that it was written in Pascal (Object Pascal to be exact). But you never hear about Pascal anymore. Why is that?
-2
votes
0answers
92 views

Looking for a job straight out of college [closed]

I have a concern with something that college has not prepared me for. I am two semesters away from graduating as a Software Engineer and I want to land a job in my field of study. I run a small web ...
4
votes
3answers
263 views

How To Become More Comfortable with the Technical Terms

I have been working freelance for a few years, and before that I worked as an entry-level coder for a non-technical company. I "understand" how delegates, and MVC, and how to make an app and make it ...
-3
votes
0answers
29 views

Help with script in Perl [closed]

I would like to ask for advice. I need to write a script in Perl that searches for data in a text file. I have the source code of one website saved in text file, and I need to find some phrases in ...
5
votes
5answers
512 views

Spoiled by Python convenience- and productivity-wise, spoiled by C++ speed-wise. Now unhappy with both [closed]

I'm currenetly struggling with choosing how to proceed as a programmer. I mainly programmed games and would like to continue. And for about 5 years or so I just used C++ and OpenGL, so I spent a lot ...
-1
votes
0answers
27 views

Where to find answers to SystemVerilog coding questions? [closed]

I use SystemVerilog for my day to day semiconductor design verification job. Oftentimes, I have trouble finding answers online to some of my SystemVerilog specific questions. What are some good ...
1
vote
4answers
230 views

Should code and data be treated seperately?

Is it really necessary to differentiate between code and data ? Is there any language where such differentiation is not there ?
0
votes
0answers
6 views

How to add a trendline (exponential) in R? [migrated]

Okay, so I am working with the daily closings of the Dow Jones Industrial Average (DJIA) index from January 1979 to December 1989. I have successfully plotted the time-evolution of the index, but I am ...
-1
votes
2answers
136 views

How the cross programming language compiler or translator works [closed]

These days there are more cross programming language compilers (specially from some 'X' language to JavaScript). I wonder how these are developed? What are the general steps to be taken care to write ...
-5
votes
0answers
29 views

Find error in R find it in summary [closed]

I am taking stats I am working with breast cancer from the book flawell. Here the link how would u do how would u do error I tried doimg it this way so your help would be very much apprucated
0
votes
0answers
39 views

Using Magma programming language, how can we write (fxg)/40320 [closed]

R:=IntegerRing(9); S:=PolynomialRing(R,5); S:=PolynomialRing(R,5); f:=y-8; g:=x^2+z^2+t^2; I would like to write (fxg)/40320 I have already tried the following f*g/40320, f*g div 40320, ...
-3
votes
0answers
70 views

Where can I find a Lua tutorial(other than the Lua book)? [closed]

I have a decent background in programming. I know HTML, CSS, JavaScript, PHP, C++, C, Python and Ruby. I recently heard about a language called Lua. Upon research I hear it is becoming increasingly ...
-1
votes
0answers
106 views

Developing an online IDE [closed]

Firstly, I am doing this for a large project, and it is 100% necessary for it. I am an experienced programmer with strong knowledge of Python, C, Ruby, Javascript, JQuery, HTML/CSS (but I have no ...
4
votes
3answers
313 views

Is there a way to use a higher level language in a competition that only has C, C++ and Java by default?

On that competition, you gain access to a system with gcc, vim, emacs and Java. You can't take any file with you and there's no internet access, but you can do whatever you want inside that system. ...
1
vote
1answer
114 views

What is the difference between a procedure-oriented and a problem-oriented programming language?

This is one of the questions given to us an assignment and I've tried to search for this on the internet but didn't get the required answers. Would be great if examples are provided too :)
4
votes
2answers
208 views

Why use typedefs for structs?

in C (ANSI, C99, etc.), structs live in their own namespace. A struct for a linked list might look something like this: struct my_buffer_type { struct my_buffer_type * next; struct ...
-1
votes
0answers
112 views

'delete' operator in dynamic memory allocation [closed]

In c++, I know that when a memory space is deallocated with a 'delete' operator and then one try to fetch what the pointer points to after the deletion, it always gives an unpredictable output. ...
7
votes
9answers
2k views

Why do we need “callback functions”?

I am reading the book programming in Lua. It said that Closures provide a valuable tool in many contexts. As we have seen, they are useful as arguments to higher-order functions such as sort. ...
4
votes
2answers
271 views

How is Nothing a subtype of every other type in Scala

I am taking Martin Odersky's coursera course on functional programming with scala, and for now I have learned two things that together don't make sense: Scala doesn't support multiple inheritance ...
3
votes
2answers
490 views

Why is C so high in TIOBE index of popularity, while C++ is just under here too, but not as popular? [closed]

I can't get my head around this. If C is so much used, but C is not C++, can someone explain to me the most important reasons that makes C more used than C++ ? Where is all this C code written for ? ...
-4
votes
0answers
159 views

Googles Doodles: What language? [closed]

So todays google doodle is Earth Day. And just out of curiosity's sake...what language is it written in? Im sure the days may be different ones, but that being said how would I go to find out?
43
votes
7answers
3k views

Why are semicolons and commas interchanged in for loops?

In many languages (a wide list, from C to JavaScript): commas , separate arguments (e.g. func(a, b, c)), while semicolons ; separate sequential instructions (e.g. instruction1; instruction2; ...
0
votes
1answer
164 views

Programming in Spare time [closed]

I work as an Oracle DBA, and looking for ways to earn a few extra bucks by programming or app development in spare time after work. I am quite familiar with C# .NET, python, sql and am also linux ...
1
vote
1answer
133 views

How would I programmatically verify gift cards on a website?

I'm trying to include a feature on my website that verifies retail gift card balances on cards previously registered at the retailer's website by the card holder. Can this simply be done by writing an ...
4
votes
6answers
853 views

Is there any difference between interfaces and abstract classes that have abstract methods only?

Let's say we have an abstract class and let this class has only abstract methods. Is this abstract class different from an interface that has same methods only? What I am looking to know is if there ...
0
votes
0answers
25 views

Question about vpython? [closed]

I have zero programming experience and I am just learning how to use vpython. I am trying to make an object follow a certain path described by a function. Is there any way to do this in vpython? If ...
5
votes
5answers
449 views

Is there any difference between pointers and references? [duplicate]

References and pointers do the same thing as I know. Is there any difference between them? If there is no difference, why we call them reference not pointer?
20
votes
6answers
1k views

How can I say that programming language compiles to other languages?

How can I say in english, that programming language can be compiled to other programming languages? The example can be Haxe. On the website the language is decribed as "Multiplatform": ...
18
votes
8answers
2k 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 ...
4
votes
3answers
602 views

Is a lambda expression something more than an anonymous inner class with a single method?

There is a new hype with the long awaited lambda expressions in Java 8; every 3 day another article appears with them about how cool they are. As far as I have understood they a lambda expression is ...
0
votes
0answers
476 views

Is Python/Clojure a good option for development of the described expert system? Yes or No [closed]

I am a mathematics graduate working on the development of an expert system for my PhD. I have never developed an expert system before but I have done some basic programming in C++ and java, but mostly ...
0
votes
0answers
69 views

NGL programming language?

Are there some online resources about the NGL language, please? Google did not helped much this time. In fact, the only relevant information I was able to find is the one on Wikipedia... ...
6
votes
3answers
419 views

Are there any statically-typed Web scripting languages?

There seems to be two major ways to set up a web server backend. You can use a LAMP stack, with the server-side code in something like PHP or Python (or Ruby or JavaScript, which don't start with a ...
0
votes
0answers
194 views

Why we coudnt make it? [closed]

It's been 3 years we are using c We studied C in our graduation, Now i am doing my post graduation in CS at one of the reputed college. In our graduation we studied structures, pointers, simple ...
6
votes
3answers
903 views

Why do some of object oriented languages let programmer use primitive types?

Why do some object oriented languages let the programmer use primitive data types? Aren't classes like Integer, Boolean, etc. enough?
0
votes
4answers
365 views

What language is most similar to JavaScript?

I am looking for a language that has First class functions is dynamic has prototypical inheritance does not have too many features (i.e is easy to get into and write first program). I have been ...
2
votes
2answers
425 views

Closest Point of Approach (CPA) mathematical formula in ship radar

I was recently searching for the mathematical formula to find closest point of approach (CPA) between one ship and another ship. I need to apply the formula in my radar ship program and I can't find ...
36
votes
5answers
3k views

Why didn't == operator string value comparison make it to Java?

Every competent Java programmer knows that you need to use String.equals() to compare a string, rather than == because == checks for reference equality. When I'm dealing with strings, most of the ...
7
votes
1answer
282 views

Are “normal order” and “call-by-name” the same thing?

I was studying the book Structure and Interpretation of Computer Programs and in section 1.1.5 The Substitution Model for Procedure Application the author explains the concepts of normal order and ...

1 2 3 4 5 21