I know the video was about procedural vs functional but this was the best introduction to SDL2 I've seen so far. Your teaching and pacing was awesome dude.
ahh we meet again! last semester you saved my ass for the haskell exam, now I wanted to look into sdl development and this was by far the best tutorial ive seen, speed, clarity and quality wise thanks!!
Surprisingly enough, it didn't come out shorter. But much more beautiful indeed. And most of the beautifulness actually comes from the Gloss library that I used. I really recommend to check it out. hackage.haskell.org/package/gloss
I have the upmost respect for this channel and I know the title is made for simplicity. But I just have to say for those that don't know Procedural is not the opposite of Functional. The opposite of Functional is Imperative. The opposite of Procedural is Object Oriented. So the Haskell version would be Procedural as well I guess, but Declarative rather than Imperative. The Scala language favors a mix of OOP and Functional. It is actually possible afaik to be 100% Functional and 100% OOP at the same time. A language where all functions are objects, then theoretically all your code are both functions and objects at the same time. If we think about it, object constructors are actually just functions returning objects. Just my opinion, I may be wrong.
Hi, thanks for giving such a good explanation comparing 2 different types of languages (procedural vs functional), it makes more sense to me (newbie coder)
Your check_player_won logic (16:07) is very neat, it looks like it's checking rows and columns at the same time by using one pair of nested for loops that can be interpreted as either column-by-column or row-by-row by different inner code. Very clever. (when I wrote this I thought I understood it but now I'm not so sure)
I like his programming style. Anyone interested in more of his content should check his twitch www.twitch.tv/tsoding and GitHub profile (mentioned in the video description)
I faced a CS2143 issue in Rendering.h. Coded into Visual Studio. Does anyone have a solution to this problem? Also, I'd like to ask you to introduce how to install SDL separately. A video that's too unkind to beginners like me
I know the video was about procedural vs functional but this was the best introduction to SDL2 I've seen so far. Your teaching and pacing was awesome dude.
man, your videos are absolutely amazing.
the pacing is perfect, the explanations are concise and it's all very fun to watch. please don't stop!
You might be the best tutorial giver for programmers that I've ever watched. Thanks so much!
ahh we meet again! last semester you saved my ass for the haskell exam, now I wanted to look into sdl development and this was by far the best tutorial ive seen, speed, clarity and quality wise
thanks!!
Your game over states were begging for an enum type rather than preprocessor defines.
Great idea ! I'm curious about the haskell version, expect it to be much shorter (and much more beautiful) :)
Surprisingly enough, it didn't come out shorter. But much more beautiful indeed. And most of the beautifulness actually comes from the Gloss library that I used. I really recommend to check it out. hackage.haskell.org/package/gloss
Is this library more like SDL or more like OpenGl (kind of low level) ? Will look at it, never used such a library with haskell.
Excellent job! Very nice intro to SDL programming in C.
I have the upmost respect for this channel and I know the title is made for simplicity. But I just have to say for those that don't know Procedural is not the opposite of Functional. The opposite of Functional is Imperative. The opposite of Procedural is Object Oriented. So the Haskell version would be Procedural as well I guess, but Declarative rather than Imperative. The Scala language favors a mix of OOP and Functional. It is actually possible afaik to be 100% Functional and 100% OOP at the same time. A language where all functions are objects, then theoretically all your code are both functions and objects at the same time. If we think about it, object constructors are actually just functions returning objects. Just my opinion, I may be wrong.
Hi, thanks for giving such a good explanation comparing 2 different types of languages (procedural vs functional), it makes more sense to me (newbie coder)
Your check_player_won logic (16:07) is very neat, it looks like it's checking rows and columns at the same time by using one pair of nested for loops that can be interpreted as either column-by-column or row-by-row by different inner code. Very clever.
(when I wrote this I thought I understood it but now I'm not so sure)
This is great, nicely edited as always. Very interesting, eager to see the next part! :)
Why can't I call this SDL2_gfxPrimitives function? urgently help me.. :;(
Great video. What type of dev work do you do professionally?
I know this is old but at 2:43 you forgot to provide the file handle for `fprintf`
What an improvement gg brother 🎉 you where ***fat*** and now in good shape !
Can you also make a comparison with C++/SDL? Or any other OOP language?
I like his programming style.
Anyone interested in more of his content should check his twitch www.twitch.tv/tsoding and GitHub profile (mentioned in the video description)
How are you creating this presentation?
This is a good quality tutorial, thanks
When is the part 2 gonna be available ?
The footage is already recorded. It only remains to edit it. Since I do all of that in my spare time the ETA is around 2 weeks.
Ahhh but it's been 3 weeks! I hope it's the functional circle jerk I've been waiting for. ;)
It's a lazily evaluating video.
Sorry I mistyped word "months" :) ua-cam.com/video/VxLvaHpAK-U/v-deo.html
which theme is this?
my favourite moment 11:11
subscribed. great content
wow interesting topic. i will start this tutorial
I faced a CS2143 issue in Rendering.h. Coded into Visual Studio. Does anyone have a solution to this problem? Also, I'd like to ask you to introduce how to install SDL separately. A video that's too unkind to beginners like me
Where're you from? Are you from Russia?)
Нет, он вроде из Словакии, или что то такое. У него на твиче написано. Я сам сначала подумал, что русский, так как акцент похож)
Which IDE are you using ?
Emacs - text editor
@@qymb4991 no, it's not emacs. It's an emacs fork called spacemacs. It's a mashup between emacs and vim.
+1 subscriber
Please source code of the SDL2/SDL.h file!
github.com/spurious/SDL-mirror/blob/master/include/SDL.h
hello, how to fix the library SDL2_gfxPrimitives.h cannot work?
what else i need to do to use sdl2, sdl.h, sdlgfxprimitives.h
Why can't I call this SDL2_gfxPrimitives function? urgently help me.. :;(