|
Odd? Not really. I get caught up it that a lot since I work using ANSI C for the embedded firmware to using Objective C for writing iOS apps that interface with the product. I also will use VB6, VB.NET or C# to collect raw streaming serial data from our product as well. There are general commonalities in coding structures that are common to all. Once you become familiar with them, switching between them isn't all that difficult, most of the differences are just syntactical in nature.
The one one that usually gets me is remembering to use
as opposed to using
when commenting in the code.
What I do find odd are the programming language zealots who insist that their language of choice is the only language that should be used or that some languages are for "children" or starter languages like VB.
To be honest VB should not be considered a starter language, it provide too many ways to learn bad coding habits. But I do like using VB for some things.
It was broke, so I fixed it.
|
|
|
|
|
S Houghtelin wrote: To be honest VB should not be considered a starter language, it provide too many ways to learn bad coding habits. But I do like using VB for some things.
Wasn't that BASIC's intended purpose? (Beginner's language, not teaching bad habits - which it does). That's what I was told at school. Of course, the same teacher wouldn't believe that hammerhead sharks existed or the reason their heads are that shape, so mod through that little gem.
|
|
|
|
|
Keith Barrow wrote: Beginner's language, not teaching bad habits - which it does I guess that was my point when I said "VB should not be considered a starter language". The language did not meet the intended result, it did make some things easy to do, especially when it comes to abusing features like loose variant type. Option Explicit and Option Strict should enabled by default.
It was broke, so I fixed it.
|
|
|
|
|
S Houghtelin wrote: I work using ANSI C for the embedded firmware to using Objective C for writing iOS apps
S Houghtelin wrote: I also will use VB6, VB.NET or C# to collect raw streaming serial data from our product as well.
S Houghtelin wrote: I do like using VB for some things.
If you program in C like languages for embedded and iOS why would you ever want to use VB, and have such a syntax change, when you can use C# for anything for which you can us VB?
The report of my death was an exaggeration - Mark Twain
Simply Elegant Designs JimmyRopes Designs
I'm on-line therefore I am.
JimmyRopes
|
|
|
|
|
JimmyRopes wrote: why would you ever want to use VB It's what the client wants.
Generally it's because that's the language that their "coder" is accustomed to using.
I guess I've spent enough time converting VB code to C# and back that I'm not uncomfortable using either. Most of my time in the last couple of years has been primarily C#.
It was broke, so I fixed it.
|
|
|
|
|
S Houghtelin wrote: JimmyRopes wrote: why would you ever want to use VB It's what the client wants.
Good answer.
S Houghtelin wrote: I guess I've spent enough time converting VB code to C# and back that I'm not uncomfortable using either.
I just questioned it because you mentioned two other varieties of C and also C# so I didn't see why you would prefer VB for some tasks.
S Houghtelin wrote: Most of my time in the last couple of years has been primarily C#.
That would be my choice if given the option.
About 15 years ago I had a contract with a company that used VB6. I found the level of the programmers to be very junior even when they had many years experience.
As I used to joke to my friends when we would get together to have a few beers and complain about the clients, "they say they have 10 years experience but is was the same year 10 times".
The report of my death was an exaggeration - Mark Twain
Simply Elegant Designs JimmyRopes Designs
I'm on-line therefore I am.
JimmyRopes
|
|
|
|
|
And
This one gets me almost every other week. I'll type // instead of ; and things will break. It's ridiculous, I just can't get used to it - which is weird considering it's the first language I learned.
|
|
|
|
|
It is odd in so many aspects.
Veni, vidi, vici.
|
|
|
|
|
Yes, it does look odd; it should be:
'\r'
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Too Right, I'm basically an Embedded C guy!
|
|
|
|
|
Its just you, until you called it to my attention.
Seems normal but does look funky
Jack of all trades, master of none, though often times better than master of one.
|
|
|
|
|
Where I've work has decided to run a "selfie" competition on Facebook, so we've naturally advertised it on our site. So far so OK.
Last night I noticed something odd: The advert points at one of the online games we have (completely unrelated to the selfie comp, other than both being run by us), rather than the facebook page. Shurely shome mishtake? The work was done in a rush as we're short staffed, the dev who did this originally was going off on his hollibobs, and we had server problems, so I assumed an oversight had happened. No on in our in-country office is available (they're one hour ahead and had gone home) so I raise a work-ticket and ready the fix for approval in the morning.
Pretty insane to have an advert for an off-site competition and not link to the competition. I've just had a phone call from marketing. They're not happy as they don't like the idea of taking the player "off the site" with a link . Despite the fact linked game (or a link of any kind) isn't mentioned in the ticket anywhere, they actually wanted this. I've managed to convince them that a non-clickable advert is better than one that takes you to some random game.
|
|
|
|
|
I do hope they've fully understood the UKs competition laws and Facebook's terms and conditions when it comes to running competitions on there.
I'd hate for anyone to report it and get the competition cancelled.
Planet Rock had their FB page shut down last week after putting up a picture of Nirvana's Nevermind album cover.
Some men are born mediocre, some men achieve mediocrity, and some men have mediocrity thrust upon them.
|
|
|
|
|
We caught up with Ubuntu founder Mark Shuttleworth to find out why he chose to partner with lesser-known manufacturers Meizu and BQ.
Who's gonna get one?
I'm tired of my Failaxy S3, it crashes more often than a Win 95 PC.
A ghost from the past. Known to others as "Linda".
|
|
|
|
|
Failaxy?
Nah, that won't catch on.
Anyway, they are excellent phones, mine is completely faultless.
---------------------------------
Obscurum per obscurius.
Ad astra per alas porci.
Quidquid latine dictum sit, altum videtur .
|
|
|
|
|
Mine has a strong tendency to freeze (= show a blank screen for a minute before I can actually do anything with it).
Another reason for me to get away from it is the ever growing tendency of Google to collect everything they get their smudgy hands on. I'd rather pay to use Google than having the company behave like a compulsive data hoarder.
A ghost from the past. Known to others as "Linda".
|
|
|
|
|
Dropkicked Murphy wrote: rather pay to use Google than having the company behave like a compulsive data hoarder
Unfortunately, they are in the business of being compulsive data hoarders!
Without that, they wouldn;t have any core business at all...and I for one would not want to go back to pre "Google it" days...looking stuff up in a textbook was never as easy as a quick google! Heck, I even use it while watching TV if there is a reference I don't get!
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
I twin screen all the time.
Watch a programme, see an actor, IMDB, See what I remember him from.
Or if a website is mentioned, go check it out.
(Quite a few actually set up proper websites for the saddoes like me).
---------------------------------
Obscurum per obscurius.
Ad astra per alas porci.
Quidquid latine dictum sit, altum videtur .
|
|
|
|
|
Dalek Dave wrote: (Quite a few actually set up proper websites for the saddoes like me).
And this[ƒ] is how you do it...
Loading signature...
. . . Please Wait . . .
|
|
|
|
|
I still see Google as search engine firm, and that's what they are supposed to do: Find a web page that solves the problem I need a solution for.
I know that this costs, but they force me to pay with my data
A ghost from the past. Known to others as "Linda".
|
|
|
|
|
Dalek Dave wrote: Nah, that won't catch on.
How about Samsung Phallusy?
My S3 has been one of the best phones I've had. I jailbroke it and installed cyanogenmod when the warranty went out: even better!
|
|
|
|
|
"Manipulated a worm cursed for Four and Twenty Blackbirds?"(1,6,2,5)
Last CCC until Tuesday.
Four Days Off an I get Chocolate!
---------------------------------
Obscurum per obscurius.
Ad astra per alas porci.
Quidquid latine dictum sit, altum videtur .
|
|
|
|
|
|
DD! I never saw a fully confirmed answer to yesterday's "[...] called to order.".
Life is too shor
|
|
|
|
|
"Gathered and called to order"
COLLATED means "gathered" and is an anagram of "CALLED TO"
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|