is codeacademy good at all or is there better alternatives because i seem to struggle to learn practical skills with it
codeacademy used to be good until they began putting paywalls everywhere and tried to make every lesson "hip" by putting justin beiber as topics to write programs about
the best way to learn how to program is usually textbooks, as a lot of these "learn to code sites" are incredibly stupid, usually pandering to certain audiences or making you pay out a stuffton of money for lackluster lessons
if you want some textbook recommendations, i recommend anything by Tony Gaddis, he makes some good "intro to" language books
b-u-m-p
anybody who places their semicolons on the next line should BE GASSED AND KILLED, EFFECTIVE IMMEDIATELY
SAME GOES FOR ANYBODY WHO PLACES THEIR BRACES ON THE
SAME.
loving.
LINE.
REEEEEEEEEEEEEEEEEEEEEEEEEEEE EEEEEE
see the thing about this is that everyone is taught differently, and some indentation styles look better for different situations
like .NET's allman style:
static void Main(string[] args)
{
Console.WriteLine("Hello, world!");
Console.Read();
}
looks great for functions and loops, as you see the conditions of the loop seperate from the body of the loop really quickly. however, it looks stupid when you do something like this:
try
{
...
}
where you have a scope floating below a keyword, where it looks like that keyword is out of nowhere, making it hard to read.
i like K&R styles better, in my opinion, but I'll admit when you have triple nested loops, it looks handicapped as hell. and convoluted. and hard to read.
edit: judging people's indentation styles for how you see fit usually ends up with you either looking stupid or stubborn when you refuse to listen to why some styles work better than others
the semicolon on the next line thing is from Haskell, and if you read the language it'd make much more sense why they do it