LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 03-26-2010, 07:04 PM   #31
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69

Quote:
Originally Posted by graemef View Post
Just what bad practices are you referring to?

Most tools in an IDE are available as standalone tools so which of these tools should in your view be avoided?
All of them!

But no, seriously; a lot of the tools which were originally designed to aid coding and to speed up work are now misused to such an extent that people can't program in any way or form that does not provide a point&click/ drag&drop interface to using even the basic of libraries and modules.

We all have horror stories of working with students and graduates who shit themselves at the very sight of an editor which doesn't provide some form of code completion.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 03-26-2010, 08:55 PM   #32
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,229

Rep: Reputation: 173Reputation: 173
Quote:
Originally Posted by jamescondron View Post
All of them!

But no, seriously; a lot of the tools which were originally designed to aid coding and to speed up work are now misused to such an extent that people can't program in any way or form that does not provide a point&click/ drag&drop interface to using even the basic of libraries and modules.

We all have horror stories of working with students and graduates who shit themselves at the very sight of an editor which doesn't provide some form of code completion.
I dont even know what code completion is.
 
Old 03-26-2010, 11:56 PM   #33
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by jamescondron View Post
a lot of the tools which were originally designed to aid coding and to speed up work are now misused to such an extent that people can't program in any way or form that does not provide a point&click/ drag&drop interface to using even the basic of libraries and modules.
But that's not really bad practice, that's just a lack of understanding. Bad practice would be not following coding standards, not testing, using inappropriate structures or statement.

As I see it an IDE can provide a lot of value to the development process by providing tools (that make it easier for me to develop) in one place. Occasionally, I need to jump out of the IDE to access a tool that is not provided by the IDE (such as valgrind) but so long as there is understanding of the process an IDE can add tremendous value.
 
Old 03-27-2010, 12:21 AM   #34
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by smeezekitty View Post
I dont even know what code completion is.
There are various ways in which code completion is implemented. Typically as you type it will offer what it considers to be viable alternatives and allows you to select one without having to type it all out. For example it will show the name of variable or functions within the scope of the current block.

The implementation which I prefer, which is not strictly code completion, is the version that displays the function signatures. I find it very useful particularly when the functions have been overloaded; I can see all the options without having to refer to the documentation.
 
Old 03-27-2010, 07:02 AM   #35
johnsfine
Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,083

Rep: Reputation: 1110Reputation: 1110Reputation: 1110Reputation: 1110Reputation: 1110Reputation: 1110Reputation: 1110Reputation: 1110Reputation: 1110
Quote:
Originally Posted by jamescondron View Post
a lot of the tools which were originally designed to aid coding and to speed up work are now misused to such an extent that people can't program in any way or form that does not provide a point&click/ drag&drop interface
Over 40 years ago in the boy scouts and only once, I lit a fire to cook my dinner using a flint and crumbled up dry leaves, etc. After that I fell into bad practice of using matches when I want to light a barbecue, and later into even worse practice of using a long wand butane lighter. By now if I had only a flint and dry leaves to light the barbecue, I'd be eating my food raw (or going inside to cook the food by what must be unspeakably worse practice).

Less than 40 years ago, I did a lot of programming PDP-7's and 8's in machine language by keying each instruction into the front panel switches in binary. So I know that crutches such as text editors and assemblers for low level programming just keep you from really having a feel for programming.

My point is that is what tools are for.
It is not bad practice to depend on a tool.

If a tool aids you in coding and speeds up your work, you should use it. Naturally that will make you forget how to work at all without such a tool. So what?

Last edited by johnsfine; 03-27-2010 at 07:10 AM.
 
1 members found this post helpful.
Old 03-27-2010, 02:15 PM   #36
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,229

Rep: Reputation: 173Reputation: 173
I like a drag and drop interface but i do not need one.
In fact programming in VIM is alot of fun.
Note: If you need code completion, your variable/function names are too long.
 
Old 03-27-2010, 02:45 PM   #37
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
I find code completion annoying and distracting.
 
Old 03-27-2010, 10:03 PM   #38
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by smeezekitty View Post
Note: If you need code completion, your variable/function names are too long.
There are various schools of thought about the length of variable names. There are a few people who insist upon using terse variable names in their programs. Generally, these programs are unnecessarily hard to understand and are difficult to maintain. If code completion can help some people to use meaningful variable names then that is a boon, and I would suggest a good practice.

I must say you statement is ill conceived.
 
1 members found this post helpful.
Old 03-28-2010, 06:54 AM   #39
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
I like descriptive variable names, and I don't really mind typing them out.
 
  


Reply

Tags
programming language


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
c++ developement in Linux tito2502 Programming 5 09-07-2006 03:17 AM
Need suggestions on what to use for web developement epod69 Linux - Software 3 05-03-2005 11:11 PM
Developement Tools For Linare RevJack Linare 3 09-07-2004 01:03 AM
Slackware 10 Developement Team - Thank You! Thank You! and Thank you! perry Slackware 5 07-21-2004 11:21 AM
C++ developement environments? rank_n00b Linux - Newbie 1 06-29-2004 04:37 AM


All times are GMT -5. The time now is 01:14 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration