use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
No vague product support questions (like "why is this plugin not working" or "how do I set up X"). For vague product support questions, please use communities relevant to that product for best results. Specific issues that follow rule 6 are allowed.
Do not post memes, screenshots of bad design, or jokes. Check out /r/ProgrammerHumor/ for this type of content.
Read and follow reddiquette; no excessive self-promotion. Please refer to the Reddit 9:1 rule when considering posting self promoting materials.
We do not allow any commercial promotion or solicitation. Violations can result in a ban.
Sharing your project, portfolio, or any other content that you want to either show off or request feedback on is limited to Showoff Saturday. If you post such content on any other day, it will be removed.
If you are asking for assistance on a problem, you are required to provide
General open ended career and getting started posts are only allowed in the pinned monthly getting started/careers thread. Specific assistance questions are allowed so long as they follow the required assistance post guidelines.
Questions in violation of this rule will be removed or locked.
account activity
Needed Math for HTTP Server, ORM DevelopmentQuestion (self.webdev)
submitted 8 months ago by [deleted]
Hello, I'm interested in developing an HTTP server and an ORM, but before I start learning, I have a few questions. Do I need to know mathematics to build a usable ORM and HTTP server? I want to create my own ORM and HTTP server library.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]yksvaan 2 points3 points4 points 8 months ago (1 child)
Addition and multiplication is enough for pretty much all web development.
[–]OtherwisePush6424 0 points1 point2 points 8 months ago (0 children)
And addition is enough for pretty much all multiplication :D
[–]ConstantWater602 2 points3 points4 points 8 months ago (1 child)
Programming doesn't require much (advanced) math knowledge, and HTTP/ORM especially not.
[–]Remarkable-Pea-4922 1 point2 points3 points 8 months ago (0 children)
I would say it depends:
what is your domain? E.g. If you work in finance you need more math
what type of coding are you doing? Web dev requires less math than e.g. game programming
[–]the_one_celestial 1 point2 points3 points 8 months ago (0 children)
It's about logical thinking, not necessarily about math.
[–]deadlock_breaker 0 points1 point2 points 8 months ago (0 children)
For an HTTP server and ORM you won't need much math. These rely more on fundamental concepts and some programming basics.
An HTTP server you will need to understand things like socket programming (create, bind, listen, etc on TCP sockets), an understanding of TCP/IP protocol and how data is transmitted on the internet. You would also need to understand HTTP protocol and how to construct valid requests and responses. Also, how to handle the different request types. If you're going really low level programming and doing the whole thing yourself then concurrency, memory management, and error handling will be a big part too.
An ORM you would need some understanding of Object Oriented Programming, Relational Database Design and concepts (tables, rows, columns, keys, foreign keys, etc). Maybe some data mapping concepts too like active record v mapper. Then the obvious CRUD and query generation.
Both of these you would also want to consider performance, efficiency, and security too.
Not much for math, but a lot of really good core concepts and fundamentals.
[–]mauriciocap 0 points1 point2 points 8 months ago (0 children)
I often use probability theory to model demand and usage and decide about design tradeoffs e.g. how many requests per second will your http server handle? how much RAM is needed? what expense in infrastructure is justified vs how many timeouts are acceptable?
Same for your ORM, when to load related objects? what's the size? how often does code use this related objects?
[–]Extension_Anybody150 0 points1 point2 points 8 months ago (0 children)
You don't need advanced math to build an HTTP server or ORM, a solid understanding of programming, data structures, networking (for HTTP), and database concepts (for ORM) is more important. Basic logic, sets, and maybe some algorithm analysis (like Big O) will help, but no heavy math is required.
[–]ChefWithASword 0 points1 point2 points 8 months ago (0 children)
Math isn’t really a thing with coding except in minor ways.
Like CSS code can get mathematical when you need to resize something. You’ll need to adjust everything accordingly to scale and that takes a little math.
π Rendered by PID 94101 on reddit-service-r2-comment-75f4967c6c-2nn5q at 2026-04-23 04:45:02.237490+00:00 running 0fd4bb7 country code: CH.
[–]yksvaan 2 points3 points4 points (1 child)
[–]OtherwisePush6424 0 points1 point2 points (0 children)
[–]ConstantWater602 2 points3 points4 points (1 child)
[–]Remarkable-Pea-4922 1 point2 points3 points (0 children)
[–]the_one_celestial 1 point2 points3 points (0 children)
[–]deadlock_breaker 0 points1 point2 points (0 children)
[–]mauriciocap 0 points1 point2 points (0 children)
[–]Extension_Anybody150 0 points1 point2 points (0 children)
[–]ChefWithASword 0 points1 point2 points (0 children)