Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
For questions comparing the implementation of a feature on different languages.
9
votes
I want to make breaking changes to my language, what techniques exist to allow a smooth tran...
Create a version before the breaking changes that is mostly forward compatible with them
Fully updating a large code base takes a long time. However, feature requests and bugs do not go on pause and w …
1
vote
Can Felleisen's expressivity metric be abused to construct ever more expressive languages th...
So I'm not really an expert on this subject, all I know is from David Young's post. Please correct me if this is wrong.
I think I found a way to add infinitely add expressiveness to any stack based la …
5
votes
Should a REPL show null values as null?
Output the value if and only if you have multiple nullish types. Python has only None so it doesn't print to avoid clutter:
>>> x=2
>>>
Python does have NotImplemented and Ellipsis but they are quite …
13
votes
What are the drawbacks of using indentation for code blocks?
Source code size
For interpreted languages, where the source needs to be sent over the Internet, like JavaScript, source code size is incredibly important. Having the option to just remove all white-s …
23
votes
Accepted
Why does Rust have an infinite loop construct?
The rust loop {} syntax has a unique feature: it has a return value. Consider this code:
let val = loop {
let random_number = rng::random();
if random_number < 0.5 {
break random_number;
…