Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 02-28-2013, 10:55 PM
wolfwalkereci
Discordant
 
Join Date: Dec 2005
Posts: 435
Default

Quote:
Originally Posted by c0ncrete View Post
hah. i just got through trying the 2 character indentation after looking at google's style guide. i had to take a shower afterwards.
Lol man that cracked me up.
I support the idea of any standard the senior dev's put out.
Reply With Quote
  #2  
Old 02-28-2013, 10:56 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

I worked on a project a long time ago that we licensed some code for. It was in C with 1 space indents, all uppercase where possible, and with most variable/function names being 32 characters long which was the limit of the compiler. It was the most horrible thing I'd ever seen.

Even back in the dark days of 80x50 DOS terminals I'd rather break a line in the middle than indent less.
Reply With Quote
  #3  
Old 03-01-2013, 05:49 AM
Drajor's Avatar
Drajor
Developer
 
Join Date: Nov 2012
Location: Halas
Posts: 355
Default

I have a suggestion which is related to standards, but not so much about syntax. I would love to see ALL embedded SQL moved to a single file and perhaps one day we could even transition into stored procedures.
__________________
Drajor regards you indifferently -- what would you like your tombstone to say?
Reply With Quote
  #4  
Old 03-01-2013, 06:38 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Thought of 1 more reason why I prefer to stick with tabs over spaces; If we move to spaces, that means I have 1 of 3 possible choices, which all kinda suck:

1. I change every other project I work on to use spaces instead of tabs, so I don't have to switch the configuration back and forth every time on my editors when changing between projects.

2. I change my editor settings each time I switch between projects and hope I don't forget and start mixing tabs and spaces by mistake.

3. I live without the editor config change to use spaces in the place of tabs and it makes coding in the emu a bit more annoying/time consuming.

Again, it is definitely not a huge issue, but trying to keep everything in mind before anything gets set in stone.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #5  
Old 03-01-2013, 05:06 PM
addingice
Sarnak
 
Join Date: Jan 2013
Location: United States
Posts: 33
Default

Quote:
I have a suggestion which is related to standards, but not so much about syntax. I would love to see ALL embedded SQL moved to a single file and perhaps one day we could even transition into stored procedures.
I agree on the moving out of inline, I personally would prefer a SQL folder where the SQL goes (maybe broken up by purpose? ,shrug> whatever, out of the inline at least).

i personally would be highly against the stored procedure bit though.

I agree entirely with this piece:

http://www.codinghorror.com/blog/200...s-anyways.html
Reply With Quote
  #6  
Old 03-01-2013, 06:35 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

Yeah definitely no to stored procedures, we're gonna rewrite the database system soonish though. So we can at least support prepared statements as well as potentially other backends besides MySQL if people choose. That all involves cleaning up the current mess that is our SQL though.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 09:59 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3