Attached: Untitled.png (1291x715, 44K)
Only hi-IQs understand the beauty and genius of C++
Aiden Perry
Easton Morris
that code looks like ass
also learn version control
Andrew Sullivan
Brandon Walker
>hi-IQ
>OOP
Justin Foster
You never programmed a single day in your life.
shut the fuck up
Mason Miller
>
Thomas Gray
Cuck++
Oliver Cooper
is that you?
Justin Reed
dear God is this what Jow Forums programs like
Ryan Flores
>i-is that you?
Jaxson Miller
rsync()
Fixed it for you.
Cameron Wright
I don't think it's reasonable to scroll to a random set of lines in the source code for a non-trivial piece of software and expect to be able to understand it without any context. Regardless of the programming language.
Prove me wrong.
Easton Cruz
This.
Anthony Moore
You just don't "get it". You just don't understand modern programming requirements.
I'm writing a program that synchronises two folders, taking into account misplacements, hash sums, dates, etc
Jose Stewart
Why don’t people make their shit readable, as in, the way every book tells you to do it, eg:
if is_on_right(file_left)
{
file_move(file_right, second_path);
}
if (is_missing(file_left) || is_newer(file_right))
{
file_copy(file_left, file_right);
}
And then you implement those functions below in a clear way. Saves the need for that shitty comment too
Levi James
I'm panic-programming before the deadline while calming myself down on Jow Forums
Caleb Evans
>C++ job to synchronises two folders
what
Kevin Clark
You're given two folders on your filesystem, now synchronise them. That is, either make the right folder the same as the left, copy missing files in either direction, or copy but also update files.
Kayden Campbell
Yeah, whatever. The font in that picture is nice though. Could you tell me what the name of it is?
Cameron Williams
IBM plex mono. Also has ligatures, perfect for
Joseph Rivera
create a symlink betwwen them?
Mason Phillips
Not allowed to use symlinks, it's a toj project to utilise the new std::filesystem
Nolan Rogers
You’re not doing yourself a favour this way, it will only become more convoluted. Just take an hour to clean it up and thank me afterwards. Don’t mix high and low level logic, just write the high level stuff first as understandable function calls and low level stuff below. Give meaningful names and make it testable
Good luck
Alexander Gonzalez
Thanks
Carter Rodriguez
>toy project
>deadline
something does not compute
Aiden Williams
>namespace::namespace::namespace::constant
I hate C++, at least C++ 20 will make this slightly less cancerous.
Nathaniel Mitchell
Okay it's a school project but I have a deadline.
Grayson Morgan
this, I much prefer C's nmspc1_type_func(nmspc2_type_func(nmspc3_type_func(constant)))
Christian Walker
>school project
>August
something does not compute
Lucas Parker
I "failed" data structures & algorithms class to earn an A on the secondary exams instead of B during the semester but I think I'll fail beacuse I wasted my time playing videogames.
Jordan Myers
I don't think anyone but a few
Isaac Smith
>wasted
if you enjoyed it, it was not wasted
Zachary Brooks
Well I fucking loved it, I beat all three stalker games in july twice over. But then the fun stopped and the hollow feeling settled back in my life (my professor kept chatting in Steam to stop gaming).
Asher Thomas
This time you have a boss to beat in real life.
Give 'em hell
Cameron Rivera
>professor
>chatting in Steam
something does not compute
Benjamin Fisher
Well professor is a programmer so he understands computers. He has 5+k hours on shit like shenzhen i/o, world of guns, mechanic simulator, and other shit
Elijah White
OK, maybe it's just my university where it's not normal to have your professors as friends in Steam.
Bentley Kelly
I'm eastern european ahhahah
Ayden Cook
so rsync but shit?
Isaac Gray
I guess and in c++
Colton Clark
Name one other language with built-in loop unrolling functionality.
Caleb White
>file is on right
>because the code is on right
Daniel Smith
mediocre tier code quality
Carson Miller
isn't it better to generate two maps for each folder with the file checksum and filepath then take the difference and copy/move said difference to the left folder?