Message from @DanielKO
Discord ID: 428962898879184897
Whoever curated this "best book" content clearly hasn't read many books on a given subject.
it won't help me ``learn all of c++ in 24 hours``??
I'm learning programming via the internet and I can definitely say it would be better to learn in school
The most important thing when learning a new language is how you should use it. That takes time.
For C++, the best source is Stroustrup's book.
Also, figure out what kind of programming student you are. Do you need somebody to tell you what to do next? Or do you feel like trying to do things on your own?
The former tends to turn out to be mediocre programmers, while the latter tends to become cowboy programmers with no common sense about code quality.
```cpp
if(former){
return shit;
}
else{
return shit;
}
```
What I meant was, if you just sit down and start coding nonstop, it's too easy to become oblivious about how bad your code is.
Probably why my college nailed the "It's all in the design" point in with a sledgehammer into our brains
Yep, bad design is usually what ruins everything.
Programmers that never looked at any library, any API, don't know what the usual names of things are.
Then they shove a bunch of generic names everywhere with no meaning.
It's interesting to see, after you go through a lot of bad code, how important having a shared vocabulary is.
I worked on a project where a `Connection` object was actually a tuple, and had one method, named `cleanup()` that manipulated data in another class.
And the class that would usually be called a `Connection`, with methods analogous to `send()` and `receive()` was called `Interaction`.
Of course, the methods weren't called that, they were called `push()` and `process()`.
push()
It was almost as if every name of class and method was created to mislead anyone else working with the code.
You should be curious to do things on your own without needing somebody to hold your hand, but also you should constantly check what other people created, to make sure you're not doing things completely wrong.
How did you mark up the text?
Google "Discord markdown".
That took all too long
Covered out the `http://localhost`?
Its my public ip
Share it
Also, chrome? Really?
Might as well just use JS
What do you use? Safari?
One has to wonder, how much energy we're wasting worldwide because so many websites now offset computation and rendering to the client side.
@Durtle02 Use firefox
@Deleted User This is my life tonight.
```
.data
print: .asciz "%d\n\000"
scan: .asciz "%d\000"
.comm A, 32, 32
.comm B, 32, 32
.text
addr_A: .word A
addr_B: .word B
addr_scan: .word scan
addr_print: .word print
.global main
main:
stmfd sp!, {r0-r1, lr}
ldr r0, addr_scan /* r0 <- &addr_scan */
ldr r1, addr_A /* r1 <- addr_A */
bl scanf /* calls scanf */
ldr r0, addr_scan /* r0 <- &addr_scan */
ldr r1, addr_B /* r1 <- addr_B */
bl scanf /* calls scanf */
ldr r0, addr_A /* r0 <- addr_A */
ldr r0, [r0] /* r0 <- *r0 */
ldr r1, addr_B /* r1 <- addr_B */
ldr r1, [r1] /* r1 <- *r1 */
cmp r0, r1 /* compare r0 and r1 */
movgt r1, r0 /* move greater to r1 */
ldr r0, addr_print /* */
bl printf /* calls printf */
ldmfd sp!, {r0-r1, pc}
```
@meratrix nigger is that assembly code
arm assembly my dude
why the fuck are you showing me that cancer
cause it's my cancer
two can play it that way nigger
``bl printf /* calls printf */`` comments could use more redundancy
I guess it's useful for people not familiar with the mnemonics.