/ub/ - Überhengst

Becoming better


If you want to see the latest posts from all boards in a convenient way please check out /overboard/

Name
Email
Subject
By clicking New Reply, I acknowledge the existence of the Israeli nuclear arsenal.
Comment
0
Select File / Oekaki
File(s)
Password (For file and/or post deletion.)

1619213739.jpg
161921311.png
1619213781.gif
Programming and Computing
Anonymous
af0ca07
?
No.3634
3641
ITT, we sharpen our programming skills and talk about the theory behind computing. All languages and skill levels are welcome. Please see the options page on how to present code in a post.
Anonymous
af0ca07
?
No.3635

if(nofrens):
feelsad()

Anonymous
af0ca07
?
No.3636
3642 3647
1619215523.jpg
Would anyponer know where to start when it comes to having knowledge of discrete math and algorithms, etc. but being terrible at coding itself? Any good books? Looking into pic related.
Anonymous
d70d9dd
?
No.3637
3639 3640
Man I love coding
I'm kind of a rookie but the game's coming together.
Anonymous
af0ca07
?
No.3639
1619216702.jpg
>>3637
Good to see some enthusiasm for it.
Anonymous
af0ca07
?
No.3640
3643
>>3637
What's the game about, if I may ask?
Anonymous
af0ca07
?
No.3641
1619217918.jpg
>>3634
>2nd pic
Silly Pinkie Pie, you can't have a book on your head!
Anonymous
7d2f2e3
?
No.3642
3646 3647
image.png
image.png
>>3636
>Introduction to Algorithms is a good book to have as lookup for all kinds of algorithms. Is a great book to look up efficient way to do different operations from sort functions to tree functions to graph functions etc.
>The C Programming language is a short book that will tell you all you need to know to code in C (it's the manual)

Sadly I am not sure what is a good book to get into coding itself will be. You might look at home pages for Computer Science courses in Universities and see what the curriculum books they use. I know a lot of them (or at least where I went) started with Java because it is a easy language to learn OOP in and structured coding, then moving on to C, and then the language you feel comfortable with.
But also think about what you want to code. If you want to make Windows apps C# might be a good way to go. If you want to code for Embedded Systems and Micro Controllers pure C might be good. If you want to make games C# or C++ or what language the graphic library uses might be the best language to focus on. If you want to make websites PHP, Dot Net Core or Node.js or any of the other languages and libraries for Web development is a good start.
Much can be learned from youtube videos and tutorials, reading the manuals for the language you want to write for, and also forum posts or sites like stackoverflow.
Anonymous
d70d9dd
?
No.3643
3644
>>3640
Basically imagine Sonic buttfucked Dante so hard the kid came out teleporting around at mach fuck with a Keyblade but better and less retarded also you've got a ghost fren and you're in a fucking coma
That's the game but described badly.
Anonymous
af0ca07
?
No.3644
1619235182.png
>>3643
O-okay
Anonymous
af0ca07
?
No.3646
3647
1619288635.png
>>3642
>>The C Programming language is a short book that will tell you all you need to know to code in C (it's the manual)
A splendid idea.

>If you want to code for Embedded Systems and Micro Controllers pure C might be good.
I really like C, because it's about as low-level as you can get without directly tooling around with the bits in assembly.

>If you want to make websites PHP, Dot Net Core or Node.js or any of the other languages and libraries for Web development is a good start.
Boo hiss! Node was the death of me. Maybe later down the line.

>Much can be learned from youtube videos and tutorials, reading the manuals for the language you want to write for, and also forum posts or sites like stackoverflow.
Are there any general tips out there? I had to figure out myself to use the debugger; most kids didn't even know to use it in upper division classes(!).
Anonymous
9ffb4c8
?
No.3647
3649 3651 3663
>>3636
>>3642
Best way to learn programming is just to do it. make up a project that's sane for your level, then research how to do it, then do it. repeat until you've built knowledge.

>>3646
C gives you complete power while being so simple. It's not just low level, it's effectively comfy assembly. Linus has described it as him being able to "see the assembly" when he looks at the code.
Almost 50 years old and still the best language around. (Pointers are also extremely fun)
>Are there any general tips out there?
I could give a few. Any topics and how advanced are you?

Right now I'm learning OpenGL in order to make a game engine in C. It's fun.
Anonymous
d70d9dd
?
No.3648
3683
been playing a lot of classic Doom lately, experiencing different mods and wads.
the Isabelle Companion Mod is brilliant! I wish there was a pony companion mod. What I wouldn't give to face the armies of hell with Twilight, Aryanne, or Rainbow Dash at my side.
Anonymous
7d2f2e3
?
No.3649
3651
>>3647
>Pointers are also extremely fun
Playing with pointers in C and do typecasting of arrays or other objects to pointers is as you say truly fun and a zen like experience. I miss malloc and realloc and having full control of what happens instead of relying on the language to do the GC for you. I should find a project to do to get into C again for the simplicity and beauty of the language.

>Right now I'm learning OpenGL in order to make a game engine in C. It's fun
I can recommend looking into the "Game Programming Gems" book serie, and also GameDev.net for info and nice tidbits.
Anonymous
7d2f2e3
?
No.3651
>>3647
>>3649
>Game Programming Gems
Found 4 of the books on archive.org
https://archive.org/details/game-programming-gems-1
https://archive.org/details/game-programming-gems-2
https://archive.org/details/game-programming-gems-3
https://archive.org/details/game-programming-gems-4
Anonymous
ead79bb
?
No.3663
>>3647
>I could give a few.
Any would be appreciated.

> Any topics
None in particular, really. Maybe if there are some in "The C Programming Language" book that's been mentioned above, or if you could point me in the direction of certain tools to use, like gdb.

>and how advanced are you?
Not very. Would it be enough in giving an accurate idea to say that programming assignments took the most amount of time, for all the wrong reasons?

>make up a project that's sane for your level, then research how to do it, then do it.
That doesn't sound too bad, when you put it that way.
Anonymous
a657e8e
?
No.3683
1619822359.png
>>3648