Yesterday, 10:45
|
#16
|
|
Hello !
Join Date: Mar 2004
Location: Somewhere
Services: Sky, AppleTV, Netflix
Posts: 16,789
|
Re: Programming
Windows 7 was well built and performed better than Vista's resource heavy OS.
Windows 10 has been Ok, but I'm liking Windows 11 now.
I'll always prefer MacOS but have to use Windows in my day job.
|
|
|
Yesterday, 10:51
|
#17
|
|
RIP Tigger - 13 years?!
Join Date: Jul 2005
Location: Bolton
Age: 60
Services: BT Superfast Broadband
Posts: 1,705
|
Re: Programming
Never used 7. I was going to, on a mini PC, but while building it I did something, not sure what, and trashed it. Left it at that. 
I couldn't do that now - almost useless right hand.
Hang on - you 'like' 11? <Cockney>'e's a nuttah!</Cockney>
__________________
"People tend to confuse the words 'new' and 'improved'."
- Agent Phil Coulson, S.H.I.E.L.D.
WINDOWS 11, ANYONE?!
|
|
|
Yesterday, 11:30
|
#18
|
|
Virgin Media Employee
Join Date: Sep 2005
Location: Winchester
Services: Staff MyRates
BB: VM 1Gb
TV: VM XL
Phone : VM XL
Posts: 3,343
|
Re: Programming
I was about to say that your original code didn't look right. Depending on the language today I may use something like
A = (B%2) ? 1 : 2
If B MOD 2 is TRUE (not zero - odd) set to 1 else set to 2.
At uni I coded in Fortran 77 and Basic but taught myself B.
For work I mostly used Clipper (xBase compiler) for a long while. That was fun but left as Windows and graphical interfaces came in.
Now, if I code, it is in Perl or Bash. I am looking at Rust and have done some Java, JSP and JavaScript, but most of my work is parsing text so Perl is great. I love the ethos of there is more than one way to do it (TIMTOWTDI) and that it is untyped so I can shove a number into a variable and later a string into the same variable. (Yes I understand why typing is good but if you don't always know what the data it going to be it saves casting and mucking around like that.)
Back to uni and the first touching of the computer was coding sheets -> punched cards -> output -> correct card and resubmit. We were told of a "whizz" where you picked up two decks of cards, then put a "goto label" card in one deck and the "label" card in the other and submit the pair together. The computer saw the "goto label" then kept going to find the label, past the "end" card on the first deck and into the middle of the code in the second. Wasn't that fun. I think they fixed the compiler to catch that. What saved me was finding the console room and our logins would work there. But as undergrads on a computing extra course we only had very limited time per week. I managed to wangle a postgrad account (unlimited) for the rest of my time at uni by demonstrating I could code and needed time to parse data collected from by project.
__________________
I work for VMO2 but reply here in my own right. Any help or advice is made on a best-effort basis. No comments construe any obligation on VMO2 or its employees.
Last edited by tweetiepooh; Yesterday at 11:34.
|
|
|
Yesterday, 16:56
|
#19
|
|
RIP Tigger - 13 years?!
Join Date: Jul 2005
Location: Bolton
Age: 60
Services: BT Superfast Broadband
Posts: 1,705
|
Re: Programming
Rust...hmm. I looked it up on Wikipedia; there seems to be a resemblance to C. I might try to learn it. I wonder if Linux has a Rust compiler?
__________________
"People tend to confuse the words 'new' and 'improved'."
- Agent Phil Coulson, S.H.I.E.L.D.
WINDOWS 11, ANYONE?!
|
|
|
Yesterday, 19:36
|
#20
|
|
Dr Pepper Addict
Cable Forum Admin
Join Date: Oct 2003
Location: Nottingham
Age: 63
Services: IDNet FTTP (1000M), Sky Q TV, Sky Mobile, Flextel SIP
Posts: 30,319
|
Re: Programming
Quote:
Originally Posted by Anonymouse
I might try to learn it. I wonder if Linux has a Rust compiler?
|
It does.
__________________
Baby, I was born this way.
|
|
|
Today, 03:34
|
#21
|
|
RIP Tigger - 13 years?!
Join Date: Jul 2005
Location: Bolton
Age: 60
Services: BT Superfast Broadband
Posts: 1,705
|
Re: Programming
Thanks. Hopefully the library has books on Rust. Or maybe Bolton College is running a course; I'll look into it.
__________________
"People tend to confuse the words 'new' and 'improved'."
- Agent Phil Coulson, S.H.I.E.L.D.
WINDOWS 11, ANYONE?!
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +1. The time now is 05:54.
|