top:
day week month all

programming

Community for : 4.2 years

The Official Sub for Programming
__________
Have your say on any programming language, opinions and questions, memes and pics, are good.




Owner: system

Mods:












3
Is my code legible?     (lab.gvid.tv)
submitted by x0x7 to programming 5 months ago (+3/-0)
5 comments last comment...
https://lab.gvid.tv/x0x7/AdventOfCodeSolutions/src/branch/main/2023/Day2

When you care more about getting it done quickly than legibility and you know your functional programming muscle memory a millimeter above good enough to do it in one take.
8
Header-only C++ libraries are pretentious faggotry     (programming)
submitted by SithEmpire to programming 5 months ago (+8/-0)
17 comments last comment...
All the reasons to go header-only are superficial, as is the counter to the compile time problem with thorough templating of every function. This isn't about minor pros and cons, it's about not breaking stuff.

One of the great things about separate declaration and implementation is exactly that, the latter is totally shielded from impact and from impacting anything else. To argue for header-only is to claim that the implementation does not and will never cause any conflict with anything else ever, which is pretentious bullshit.

Sqlite gets it right - they produce amalgamated source, but it's one header file and one source file. The header looks suspiciously large, but that's only because it's 99% comment text to document it.

Some libraries are designed header-only but have a separated version available or a script to produce that, so they get a pass, at least it's not forced header-only.

Then we have shit like Eigen. Nice actual library, but good god damn have they caught the gay header-only HIV. It's just too much time to hit an unexpected compile error for which the resolution involves editing an included library, in this case just to move implementation out of the headers.

For anyone who needs an analogy, the problem with header-only libraries is the same as the problem with open-plan offices.
19
I write articles and tutorials on programming, more than 140 articles written     (chat-to.dev)
submitted by byte to programming 5 months ago (+22/-3)
12 comments last comment...
2
Any programmers here to create a connection?     (programming)
submitted by byte to programming 6 months ago (+2/-0)
7 comments last comment...
1
How to use logical operators in any language?     (chat-to.dev)
submitted by byte to programming 6 months ago (+1/-0)
2 comments last comment...
2
Function of each type of computer virus     (chat-to.dev)
submitted by byte to programming 7 months ago (+2/-0)
1 comments last comment...
1
Copilot seems kinda crappy     (programming)
submitted by shitface9000 to programming 7 months ago (+1/-0)
6 comments last comment...
I'm getting better results generating code from OpenAI. Anybody have a good experience with Copilot?
1
Anyone open to work? Need a programmer for a MVP.     (programming)
submitted by SOULESS to programming 8 months ago (+1/-0)
15 comments last comment...
Hiya. Anyone interested in a side-gig? I'm not sure what to ask for specifically, but here is what I'm trying to accomplish:

- User can make an account.
- User can subscribe for monthly fee. Free for individuals managing 10 or fewer Google Ads accounts. Paid for agencies/ companies managing more.
- Can execute Google Ads scripts with an API call. We'll start with my favorite for keyword maintenence.

I want to hack together a proof of concept then add to it over time.
6
Here are some things you can replace JavaScript with CSS     (chat-to.dev)
submitted by byte to programming 7 months ago (+7/-1)
3 comments last comment...
2
The invention of the mouse by Douglas Engelbart (1968)     (chat-to.dev)
submitted by byte to programming 7 months ago (+2/-0)
1 comments last comment...
1
The birth of Linux by Linus Torvalds (1991)     (chat-to.dev)
submitted by byte to programming 7 months ago (+1/-0)
2 comments last comment...
3
How to hide elements on my page with javascript     (chat-to.dev)
submitted by byte to programming 7 months ago (+3/-0)
6 comments last comment...
2
Talented programmers who unfortunately died too soon     (chat-to.dev)
submitted by byte to programming 7 months ago (+2/-0)
4 comments last comment...
1
Toogle slider with css and javascript     (chat-to.dev)
submitted by byte to programming 8 months ago (+1/-0)
1 comments last comment...
2
Physics in video game development     (chat-to.dev)
submitted by byte to programming 8 months ago (+2/-0)
3 comments last comment...
0
What headers does voat use in its .htaccess to keep data safe?     (programming)
submitted by byte to programming 8 months ago (+0/-0)
1 comments last comment...
13
Python dev suspended by foundation for "genuinely" enjoying an old SNL skit     (www.youtube.com)
submitted by v0atmage to programming 9 months ago (+13/-0)
15 comments last comment...
5
Which tool or IDE do you use to program?     (programming)
submitted by byte to programming 11 months ago (+5/-0)
15 comments last comment...
-1
Polly Password and the Magical Gatekeeper - Scure login system.     (programming)
submitted by byte to programming 9 months ago (+1/-2)
6 comments last comment...
Firstly, I would like to apologize for the provocative style I used in this post. This is a method I usually follow with students and beginners to help confirm the information, and nothing more. I assure you that it is not intended to belittle anyone. Now, let me start by telling you a simple story you can share with your child before bed.

https://chat-to.dev/post?id=523
-2
That's why you're a terrible programmer     (chat-to.dev)
submitted by byte to programming 10 months ago (+1/-3)
7 comments last comment...
0
Learn Ruby on Rails lesson 1     (chat-to.dev)
submitted by byte to programming 10 months ago (+0/-0)
6 comments last comment...
7
Fundamentals of Object-Oriented Programming (OOP)     (programming)
submitted by byte to programming 10 months ago (+7/-0)
5 comments last comment...
Object-Oriented Programming (OOP) is a programming paradigm that uses "objects" and their interactions to design and program software applications. Objects are instances of classes, which can contain data (attributes) and methods (functions or procedures) that operate on that data. https://chat-to.dev/post?id=452
3
50 reasons why you might still consider PHP for building your websites     (chat-to.dev)
submitted by byte to programming 10 months ago (+3/-0)
9 comments last comment...
0
People are already leaving questions there      (programming)
submitted by byte to programming 10 months ago (+0/-0)
2 comments last comment...
The chat room for programmers here has already been created and there are new people interacting there, join in and let's make it livelier than any room in the world :p https://chat-to.dev/chat?q=voat_code_guys
5
Technologies used by developers to build anime     (chat-to.dev)
submitted by byte to programming 10 months ago (+5/-0)
2 comments last comment...