Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Ada

Name: Anonymous 2010-04-03 16:48

just discovered this language (Ada) and am thinking of learning it, it looks like it would be a very good language to make some small projects

what does /prog/ think?

Name: Anonymous 2010-04-04 15:58

>>36
Ideally you should allocate all the memory you'll ever need at the earliest possible point in your program, and never touch malloc() again.

Also, you should NEVER use strings longer than 128 characters. These don't exist in a righteous program, period. These are inventions of non-programmers, of managers and synergy-crazy CEOs, are a form of blasphemy and an insult against God. So add #define sprintf(s, ...) snprintf(s, 128, ...) to your 'void.h' and be free hackers, you be free.

Some youngun might as an experienced C hacker: but what should I do if I want to compose an SQL request? My friends, the rule of thumb is: if it requires more than 128 characters, then it's a Devil's work and you should avoid it, like you avoid non-Free software. SQL does indeed require longer strings often -- and is loved by managers and CEOs in the Enterprise, what more do you need to know about it to come to a definite conclusion?

Plain text files are a perfectly good NoSQL solution.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List