Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities includingStack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Loading…
Code Review

Unanswered Questions

Ask Question
256 questions with no upvoted or accepted answers
8votes
0answers
286views

Error handling function (Win32/C)

I have written the following function to be a general "error logging" solution for my Windows API projects. Basically, given a Windows system error code (a la ...
6votes
0answers
516views

Xero API Client in Django

I'm not actually that new to writing Python. But I've no formal training and have only learnt to build applications to solve problems for my job out of necessity. Starting to bring my existing skills ...
6votes
0answers
134views

Showing a Wikipedia article's changes as Git commits

I created a small-ish NodeJS script which takes as argument the name of a Wikipedia article (and optionally a Wikipedia edition, "en" is default) and creates a Git repository with each ...
6votes
1answer
197views

GitHub API client

Here is my Haskell program designed to list all of my GitHub repos along with their descriptions and languages via the GitHub JSON APIs:...
5votes
0answers
104views

Correct abstractions/organisation of a NodeJS GraphQL API

I recently did a quick take-home test for a potential job opportunity. It included building a GraphQL API with nodeJS. I am not an expert in node (mostly use Python at work) but I have used it for ...
5votes
0answers
1kviews

Exception handling: using @JsonProperty value to make error message

If the validation inRestController fails, I need to handleMethodArgumentNotValidException and provide an errorMessage, that ...
5votes
0answers
2kviews

Extract data from API using VBA & XML (Performance)

EDIT: Added a block with the raw code at the bottom (suggested by a friendly user)First post here. I sincerely hope that I am doing everything by the book. Also, I want to thank you in advance for ...
5votes
0answers
125views

Testing application stability by throwing random diagnostic exceptions

I'd like to be able to better test application stability. Usually when you're doing this, you run the application and keep your fingers crossed that it won't crash when an error occurs (be it a ...
5votes
0answers
1kviews

Downloading images from Reddit using Python 3

I have been working on this small project in order to fetch top-notch images from Reddit. Overall I am pretty confident about the code below but I am not entirely sure about whether my error handling ...
5votes
0answers
418views

Unit Testing Against Exceptions

I am writing a Swift library. I'm writing unit tests for that library.I am afraid that some of the code that I am testing will possibly throw exceptions. In Swift, we can handle errors, but we can ...
5votes
0answers
216views

Error Handling for XML parser

I have the following Ruby code, which parses an XML document sax style (it's a very simplified version):...
5votes
0answers
1kviews

Mocking the file system within a test

I've been using this method to test file-system functions as an alternative tomock-fs due to its lack of symlink support. I'd love to hear what others think and ...
5votes
0answers
290views

Entity component system Lua API

The destruction of the objects are handled by the garbage-collector metamethod.(Does this make sense? This means that an out-of-scope object will stay visible in game until garbage collection.)The ...
5votes
1answer
143views

Function outcome: consistent approach and easy logging

My goal is to make a consistent and easy way to determine how a function fails/succeeds. I'm looking for code review of myStatus class for any bad practices, code ...
4votes
1answer
360views

Monitoring and re-establishing a PostgreSQL connection

Within a complicated Ruby project, I need to monitor the connection to a PostgreSQL database, as answered here. I use a thread for this purpose. Every few milliseconds, I invoke "consume_input" which ...

153050per page
1
2345
18

Unanswered Tags

javascript × 134
express.js × 25
beginner × 22
mongodb × 20
python × 18
c# × 15
json × 15
rest × 15
asynchronous × 12
performance × 11
rust × 11
typescript × 11
promise × 11
mongoose × 11
java × 10
php × 9
unit-testing × 9
web-scraping × 8
object-oriented × 7
ruby × 7
design-patterns × 7
async-await × 7
python-3.x × 6
mysql × 6
functional-programming × 6
more related tags

[8]ページ先頭

©2009-2025 Movatter.jp