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 Andrew Ray‭

Type On... Excerpt Status Date
Edit Post #291667 Initial revision 29 days ago
Question How is this code "dividing" by a string?
I found a strange expression in some Python code: ``` python from library import HOMEDIRECTORY file = HOMEDIRECTORY / "file.json" ``` It seems to be dividing a string by another string in order to do something with files. However, I can't make this work in the REPL with my own strings: ...
(more)
29 days ago
Comment Post #291492 Even if you replace `typeof someVar !== null` with `someVar !== null`, it still won't work. The condition `typeof someVar !== "undefined" || someVar !== null` is always true because `typeof someVar` is only `"undefined"` if `someVar` is `undefined`, in which case, it's not `null`; conversely, if `som...
(more)
about 2 months ago
Edit Post #291472 Initial revision about 2 months ago
Question TypeScript won't recognize cross-module type extensions
I'm trying to write a Node module that extends the functionality of another module (a peer dependency which I do not control) using a register function exposed by the other module. This adds additional methods to some types from the other library, and I have created a .d.ts file that contains those t...
(more)
about 2 months ago