d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Need Some C Help Actually Should Be Very Easy > New To Pointers And Mem Management
Prev123
Add Reply New Topic New Poll
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Jul 15 2016 05:48pm
Quote (boxboxbox @ Jul 15 2016 04:26pm)
This is a strawman argument, I stated my actual reasons before.


So when you first started learning math in elementary school and got many questions wrong, I could tell you to give up and go do something else.

Your argument is that of a 10 year olds. Who the hell tells someone to quit when they haven't even broke the water yet.
Member
Posts: 23,862
Joined: Aug 16 2006
Gold: 20.00
Jul 15 2016 07:57pm
Quote (AbDuCt @ Jul 14 2016 11:10pm)
Reminds me of something I read.

Code is never perfect, it is just always "good enough".



I wouldn't doubt it.

Code is subjective, primitive, and new fads/styles/paradigms come and go.

As your project scales in scope, it seems like you either bolt more shit on that you didn't expect, or at some point just do a full rewrite.

years later, rinse repeat.


The only thing that won't betray you is coherent code in small, logical chunks that can be unit tested.

Use overloaded functions. Use classes to define objects when you need to pass around lots of data. Add comments when you do something that is unusual.

Whatever you do, don't be the only person who can read the code you write. Some might argue job security, I would argue incompetence.
Member
Posts: 7,319
Joined: Apr 20 2007
Gold: 2,383.33
Jul 17 2016 12:32am
Hey,

Thanks all for the criticism, good and bad. I dont mind a few douches in the road but, as you've all mentioned, I'm learning and drinking from a firehouse. Six weeks to be exposed/learn linux, memory management, concurrency, C++, and C. I'm definitely drowning, programming isn't a skillset had prior to college but that's why I chose CSE over EE, I prefer the challenge and love the learning curves.

Anyways, I plan on doubling back and soaking up as much as I can in the future. It's been an arduous five out of six weeks so far but extremely enjoyable.
Go Back To Programming & Development Topic List
Prev123
Add Reply New Topic New Poll