Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Activity for Gershy‭

Type On... Excerpt Status Date
Edit Post #277899 Post edited:
over 4 years ago
Edit Post #277899 Initial revision over 4 years ago
Question Nodejs wrap async function in synchronous function
I am writing a spoof of the `fs` module; the actual storage mechanism is not the the filesystem but rather a database. Overall, however, the api will function exactly like `fs`. So far my code is comparable to the following: ``` let underlyingDb = require('module-for-accessing-db'); let moc...
(more)
over 4 years ago
Comment Post #277860 `ResolveThisBinding` and `GetThisEnvironment` are very useful to know about!
(more)
over 4 years ago
Comment Post #277861 Wow, thanks for showing `(obj.b) = 'value';` - I had no idea that was valid javascript, and it's really the best example demonstrating that parentheses are not exactly what I've always expected them to be!
(more)
over 4 years ago
Edit Post #277856 Initial revision over 4 years ago
Question Function call; `this` gets bound to unexpected value
I recently encountered a strange situation in javascript; if I have: ``` let obj = { a: function() { return (this === obj) ? this.b : 'bye'; }, b: 'hello' }; ``` I can call `obj.a` with `this` bound to `obj` by simply calling `obj.a()` (producing `"hello"`). The following al...
(more)
over 4 years ago