1,008 reputation
79
bio website
location Arizona
age 60
visits member for 4 years, 2 months
seen Nov 12 at 21:45

Long time developer in lots of different fields on different hardware using different languages for different reasons.

Greatly enjoying Ruby, Sequel, Nokogiri, Rails, Sinatra/Padrino, and trying to find time and opportunities to work with Python.

I have years and years of experience with Perl too, along with Java, SQL, Pascal, C, various assembly languages and interpreted BASICs.


Nov
11
comment What are some famous one-liner or two-liner programs and equations?
LOL. That's just nasty. Right now I'm thinking that if I cat a binary file to the screen I'd be looking at an APL program. :-) Did they also use ^G (AKA BELL)?
Nov
10
comment What kind of things can you learn from a guy who only hacks existing code?
I don't think you're allowed to arbitrarily redefine a word to mean what you want, especially when it has a pretty well defined meaning that the rest of us understand. Double-especially since a large number of us are that thing.
Nov
9
answered How do people read big technical books?
Nov
8
comment What are some famous one-liner or two-liner programs and equations?
It's elegant in a "C" kind of way as long as the strings are terminated correctly. For a non-C string it can be a terrible death for program or a CPU/host. I've had to debug it because of strings being passed in as Pascal strings (length-byte prefixing the string), or encountering strings that weren't concatenated correctly and having embedded \0 chars. I lean toward it being elegant still, but only in the hands of an experienced C developer. It shouldn't be taught to newbies because they'd shoot their feet off.
Nov
8
comment What are some famous one-liner or two-liner programs and equations?
And I thought Perl looked like line noise.
Nov
6
answered What are some famous one-liner or two-liner programs and equations?
Nov
6
comment Compiler Warnings
I definitely agree!
Nov
6
answered Compiler Warnings
Nov
6
comment How do you use blank lines in your code?
It's easy to experiment and see whether it is better to have vertical whitespace or not. Take a source file that is unknown to you, remove all the blank lines, then try to follow the logic. Even with proper indentation it will be mentally exhausting because blank lines give us a chance to see things in bite-size chunks. I'm having to maintain some code that didn't use a lot of vertical blank space or indentation, so adding it was one of my first tasks for self-preservation.
Nov
6
comment How to morph from a programmer noob to a guru?
I am ALWAYS working on alternate languages and have pet projects I do at home. You can't sit still in computer technology because it changes too fast.
Nov
6
comment What is the difference in a developer's years of experience with a language?
I agree it's important to know multiple languages. Languages are tools in our toolbox and knowing what their strengths and weaknesses are is important to getting a job done. You can drive a nail with a screwdriver or a hammer or pliers, but one works a lot better than the others. Of course a hammer is lousy for removing a screw or tightening or loosening a nut on a bolt.
Nov
6
answered Do poor writers make poor programmers?
Nov
4
comment Which things instantly ring alarm bells when looking at code?
I'm maintaining/cleaning up code written by one of our engineers, who coded some useful things but admits he isn't a programmers. As I consolidate stuff I'll comment out his old code and then later we go over the changes and I show him how I replaced his with something smaller/more efficient/easier to understand. Afterwards I strip out those blocks then I check it in. Having the old code there has benefits because he sees how things can be done more simply and I can remember why I changed things when we're talking.
Nov
4
comment What corners have have you cut at work?
The downside to holding off commenting is that often we don't get a chance to go back and comment. Prototype and test code often ends up in production and we get thrown onto other tasks, then someone else inherits the old code. I throw in comments for code that isn't self-documenting otherwise I try to make the code explain itself.
Nov
4
comment What corners have have you cut at work?
Using a formatter isn't cheating at all. If you have the formatter configured to meet the requirements then it's stupid to waste time aligning things. Select the code and let the software do it. At a previous job I put together a PerlTidy settings file and passed it around and told the other developers to use it. I used to do the same thing with my Java code to make it easier to read.
Nov
1
awarded  Teacher
Nov
1
answered How can we make software development best practices more interesting to people without a software background?
Nov
1
comment not checking in from the project root
Checking in a broken build is sloppy, and it shows a complacent attitude toward the project and its success, AND the time and work of the other people on the project. Occasionally checking in and missing a file is understandable but if it occurs more than once or twice there's a problem with attitude.
Oct
31
answered Is the time spent customizing your dev machine environment worth it?
Oct
29
awarded  Supporter