Questions tagged [language-discussion]
The language-discussion tag has no usage guidance.
11
questions
5
votes
2
answers
3k
views
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(...
2
votes
3
answers
2k
views
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 ...
2
votes
2
answers
408
views
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 ...
20
votes
1
answer
976
views
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 // ...
11
votes
6
answers
38k
views
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 ...
1
vote
1
answer
112
views
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 ...
8
votes
7
answers
839
views
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 ...
5
votes
7
answers
439
views
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 ...
30
votes
5
answers
35k
views
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 ...
5
votes
4
answers
8k
views
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:
...
25
votes
8
answers
10k
views
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. ...