Well i think it is good to have a heavier bike for a while, especially if you are a fresh rider. If i didn't start with something kinda beefy i wouldn't be where i am today. You need a heavy bike for the muscle memory. But Geometry and frame sizing helps a lot to how you ride too. I recommend maybe upgrading to a nicer frame later on, but for now, ride that shit!!
I started on a bike that is like 40 pounds and learned a lot. Then upgraded to one around 24 pounds and it made learning new stuff quickly better.
Also, im just gonna state the obvious here, a lighter bike is EASIER to ride for longer periods of time. Like after riding hard for an hour on a 35 pound bike, i'd be sweating and hyperventilating after everything because its working my body more. But for when i had my Fit Aitken s3.5 which is like a 4lb frame and had lots of light parts on, i could ride that thing for like 4 hours without being worn out. That bike probably weighed in at like 21 pounds and i liked it, but it broke. Realistically, you should get that bike down to 25 pounds LATER ON. Then start shredding.
References: OneGuyIlluminatiEye, robinson79, Brian Griffin, The Horror Contact, StoreBoughtChild, C_Johnsonbmx, dkTechEthan, etc.