Questions tagged [language-discussion]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5 votes
2 answers

How do JavaScript engines convert async/await to promises under the hood?

I'm curious how the async/await syntax is converted to Promises. Maybe I'm just not thinking about it properly, but I don't know how this code would be converted to a Promise: async function myFunc(...
user avatar
2 votes
3 answers

Advantages and disadvantages of an FFI vs. a C/C++/etc API

I am trying to understand the advantages and disadvantages of a Foreign Function Interface (FFI) (in which the high-level languagd can call most C functions directly and can manipulate C data ...
user avatar
  • 776
2 votes
2 answers

How to get an object that another object is prototype of?

Javascript in the DOM has a peculiar characteristic. There's a different Object object that an object (by default) inherits per window. In order to find what kind of object is being sent to a function ...
user avatar
  • 185
20 votes
1 answer

What are the standards for dealing with pluralia tantum in your code? [closed]

When using variables of which their plural and singular are both the same, how do you name them? Are there any standards out there? For example: Series[] series // Plural Series series // ...
user avatar
11 votes
6 answers

What does "enterprise" means in relation to software architecture?

I see the term "enterprise" being thrown around software developers and programmers a lot and used loosely it seems. en·ter·prise/ˈentərˌprīz/ Noun: A project or undertaking, typically one ...
user avatar
  • 377
1 vote
1 answer

can we do scaling by throwing ruby stone

I heard developers at my office discussing Ruby language can be used for following purposes: Desktop apps,Web Apps,and may be handheld devices. Actually,we are in phase of selecting technology to have ...
user avatar
  • 259
8 votes
7 answers

What is the "PHP Way"?

I see constant references to the " Way," such as descriptions of a particular framework or application as "Pythonic," a certain person as a "Perl hacker," or "true Ruby code," but where are the "PHP ...
user avatar
5 votes
7 answers

Are languages just syntax or do they include the framework too? [closed]

In building a language history for Pascal I noticed that at some point languages changed from a strong line between the language and its common libraries to more of a blurry one. In the first few ...
user avatar
  • 2,096
30 votes
5 answers

When and why you should use void (instead of e.g. bool/int)

I occasionally run into methods where a developer chose to return something which isn't critical to the function. I mean, when looking at the code, it apparently works just as nice as a void and after ...
user avatar
5 votes
4 answers

What are the basic skills a beginner JavaScript programmer should have? [closed]

In NYC, we are working on creating a collaborative community programming environment and trying to segment out software engineers into differing buckets. At present, we are trying to define: ...
user avatar
  • 51
25 votes
8 answers

The importance of javascript and the best way to learn it? [duplicate]

I'm a new graduate, but I have been doing web development for about six months. When I was finishing university the server side languages (PHP, Java) were more important then client side languages. ...
user avatar