The channel I used when starting out and that has some great tutorials is Heartbeast.
https://www.youtube.com/@uheartbeast
Another channel with some great content is Godotneers
The channel I used when starting out and that has some great tutorials is Heartbeast.
https://www.youtube.com/@uheartbeast
Another channel with some great content is Godotneers
Not all work with someone happens from opening up issues or PRs
All lemmy apps are sublinks apps, it has api compatibility
The demo site also isn't an instance for accounts, its a demo
API pretty much already has parity, should be done way quicker than that
Theyre two different softwares with two different apis, you can't
Lemmy is indexed so can be found on search engines while discord cant
For internal search without using a search engine discord has had way more devs, time and money thrown at it. Still would say its barely better than lemmy (just is cause of the time filters)
Credit to explainxkcd for that one, their pages are great
This code has a recursive call (function calls itself) within the function so that has to be taken into account when tracing it
This would make the function execute multiple times so the for loop would end up executing multiple times.
Lets say main calls draw with a height value of 10 (draw(10)). First it sees that n is greater than 0 so it keeps going. Then it calls the draw function with a value of 10 - 1 aka 9. Now its executing in the draw(9) function. Greater than 0 so continues and calls draw(8). etc. all the way down to draw(0) where it sees that n is equal to 0 so returns out of the function due to the return statement.
Now that draw(0) finished executing draw(1) can keep going and goes to the for loop. Here it prints 1 # and then prints a new line (and then returns since it hit the end of the function). Now that draw(1) is done draw(2) can keep going and prints 2 #'s and then prints a new line (and then returns). This keeps going all the way up to the initial draw call, draw(10) which prints 10 #'s and then a new line, returns, and then the main function keeps going but theres nothing after that so it returns and the execution ends.
The effect from coming back after the recursive calls makes it seem like n is increasing but its just different calls to the same function. i is taken into account for but printing the amount of #'s since thats whats within that loop
Yeah active is currently the default sort in programming.dev until scaled sort comes out so commenting helps the most out of everything here
seems like it loads when I look at it from programming.dev and lemmy.world but not lemmyloves.art
Note theres also a !gamejams@programming.dev community