Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×

Comment Re:another language shoved down your throat (Score 1) 415

For example, when adding some new code I will often put it at the beginning of the line (ie with no indent) so I can see it more clearly whilst coding (usually this is for temporary tracing lines), and only indent it before commit.

I do that in C++ all the time, especially when it's something I don't intend to keep. This is definitely something that you can't do in Python, but that doesn't keep me from liking it.

Comment Re:another language shoved down your throat (Score 1) 415

With Python, on the other hand, I'm actually more likely to have an error in the indenting, because there's no easy way to see how many blocks I'm terminating when I outdent by an arbitrary amount.

I've never really had that problem, but then I always break up code into reasonable sized functions so the nesting doesn't get too deep. Perhaps that's what you need to change.

Comment Re: another language shoved down your throat (Score 1) 415

I used Pascal for almost all of my CS courses (but this was in the mid 80s). I got my first job as a C programmer with no formal C experience, but that wasn't a problem, and I never had any problems adapting to new languages during my career as needed. I like some languages more than others, but I can get the job done in anything needed with a short learning curve. I've done mostly C++, which I enjoy, and picked up Python on my own a couple years ago, which I love. I wouldn't call myself a Python expert by any stretch, but I could become one in short order if the need arose. It's all about the programming: Thinking logically, breaking tasks down in discrete steps that do the right thing, knowing what can go wrong. The language is just syntax. It might make some things easier and some things harder, but they're all doable.

Comment Re:The main problem with all elec (Score 1) 247

When I bought this house, I had a minivan. Kids, etc. There was zero stuff in the single car garage, besides the water heater, washer, dryer. Which is where that stuff lives in this market.
Day 1, I opened the garage door, pulled the minivan in..."OK, this isn't going to work well"

lawnmower, bikes, tools....or the car. One or the other. The cars, being hardshelled devices, survive outside much better than all the other things.

Comment The main problem with all elec (Score 2, Insightful) 247

The main problem with all electric cars, so far, is needing to have a personal garage to park it in to recharge. If I live in apartment, I can't charge it. If the garage of my single family home is otherwise taken up with 'stuff', I can't plug it in.

Eventually that issue will change. But for today, how can I buy an all electric if I have no where to plug it in?
Even if it were sold for $300, I still cannot plug it in!

Comment Re:What's the point? (Score 1) 178

It's not a spin at all. In order for Microsoft to prove to governments that their software does what it's supposed to, they are willing to share the source, because that's the only way you can really trust software. It's not spin to say that you cannot truly trust software unless you can see the source (and understand it, and be able to build it, etc., etc.)

Slashdot Top Deals

To do nothing is to be nothing.

Working...