473,466 Members | 1,413 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Coding Guidelines

7 New Member
hai, i want the general guidelines that any software programmer should follow.
Dec 18 '07 #1
3 1747
fnbhns
7 New Member
hai, i want the general guidelines that any software programmer should follow.
Dear Pradeep

Thanks ...Great asking cause I have the same asking to all of my friends. If I like to develop a project with front end as JAVA and backen as ORACLE. Whats the steps should I follow & mainly to connect this JAVA & ORACLE. I am highly expecting kind advices from all friend cause I am new in development.

Thanking you all.
Dec 19 '07 #2
r035198x
13,262 MVP
Dear Pradeep

Thanks ...Great asking cause I have the same asking to all of my friends. If I like to develop a project with front end as JAVA and backen as ORACLE. Whats the steps should I follow & mainly to connect this JAVA & ORACLE. I am highly expecting kind advices from all friend cause I am new in development.

Thanking you all.
For the Java to Oracle connection thing you should really have asked in the Java forum. Have a read at a JDBC tutorial.
Dec 19 '07 #3
sicarie
4,677 Recognized Expert Moderator Specialist
hai, i want the general guidelines that any software programmer should follow.
This actually differs quite a bit from place to place. It's also the reason why "in-house" code is looked down upon so much. I would recommend looking at the Java source - how they implemented the language. You will get acquainted with the finer points and some of the best-practice habits there.

In general, I would suggest prepending the "simple" types - int, char, string, with an identifier as well as good variable names so someone reading your code can decipher it easily (eg - i_numberOfMatches for an int holding the number of matches so far).

Optimize when possible. I know this is a bit ridiculous to tell someone as a guideline when they dont' know the advanced data structures, but when you learn them remember one thing:

Your professors made you code linked lists and vectors from scratch to figure out how they worked. The most important part: ONLY to figure out how they worked. Trust the structures and methods to be implemented better and at a more optimized level than your skills until you are at the point where you are interested in and can understand the low-level algorithms of how each one works.

From there I would suggest looking into the package structures of large programs, but that definitely changes from place to place, so if you just keep coding every day, you will learn the things above - they come with experience as well ;).
Dec 20 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Todd | last post by:
Does anyone know of a book for C# .NET on coding standards and guidelines? My company is in the process of defining this stuff as we move to C# .NET. I could swear I picked up a book like this...
27
by: Stuart Gerchick | last post by:
C++ Coding Standards : 101 Rules, Guidelines, and Best Practices by Herb Sutter, Andrei Alexandrescu is now a month or so away from release. What is people's opinion on this...is it going to be a...
1
by: jarit | last post by:
Hi, Found these coding guidelines for C#, HTML, Javascript, Java, HTML, PL/SQL, T-SQL, VB and VBScript. Well written and free to download. www.demachina.com/products/swat Jeroen
39
by: Patrick | last post by:
The c# code style guide that I follow suggests that class variables (fields) be coded with camel casing, like this: int recordId; string name; It also suggests that variables within methods...
7
by: jarit | last post by:
Hi, Found these coding guidelines for C#, HTML, Javascript, Java, HTML, PL/SQL, T-SQL, VB and VBScript. Well written and free to download. www.demachina.com/products/swat Jeroen
1
by: Scott Meddows | last post by:
Does anyone know of a document that Microsoft produces that has the suggested coding standards for naming tables in a Database, fields in a database, objects in a VB project and so on? Maybe one...
4
by: Dotnetjunky | last post by:
Hi, So far, I've found tons of documents describing recommended coding standards for C#, but not a single piece on VB.NET yet. Anybody here knows such a coding standards guideline on VB.NET...
3
by: Dan Schaertel | last post by:
Does anybody have a good VB coding standards documnet? I need to generate one and I am looking for examples. Thanks email: dschaertel@hotmail.com
60
by: Dave | last post by:
I'm never quite sure whether to use "this." or not when referring to fields or properties in the same class. It obviously works just fine without it but sometimes I wonder if using this....
7
by: Robert Seacord | last post by:
The CERT/CC has just deployed a new web site dedicated to developing secure coding standards for the C programming language, C++, and eventually other programming language. We have already...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.