16 December 2020, 16:27 | #1 |
Registered User
Join Date: Sep 2019
Location: Essen/Germany
Age: 55
Posts: 463
|
"Brain"coding
I wonder if other people do this as well. I don't know how many bugs I found, just by being not on the computer and just thinking about my program. I usually do this, when I'm out for a walk with my dogs or in other situations where I have time to think about all kind of stuff, like being on the highway driving home, etc..
|
16 December 2020, 16:34 | #2 | |
Going nowhere
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 9,016
|
Quote:
|
|
16 December 2020, 16:53 | #3 |
Registered User
Join Date: Apr 2018
Location: UK
Posts: 490
|
Do other people kinda emulate the hardware in their head too? I 'see' what I'm coding in my mind and how it's interacting with the hardware in slow motion, I go over bugs like this when I'm away from the machine, often it gives a fresh view. Oddly I was just recently thinking if this is how other people code.
I find it really frustrating coding for something if I don't understand how the hardware works, eg newer systems Android, IOS etc. I often spend time figuring out what's going on at a lower level before I'm comfortable with bug hunting. |
16 December 2020, 16:55 | #4 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,491
|
I did code debugging or made effects during my REM phase
Now I only have night dreams of when I was young, free and with a more efficient body and brain, and I relive the past .. how old I am .. |
16 December 2020, 17:48 | #5 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,539
|
Coding is the wrong word. I would rarely think about the actual instructions in my mind. But I'm frequently thinking about algorithms (like a scrolling engine), or specific coding problems of the day, in bed, before I fall asleep.
|
16 December 2020, 18:14 | #6 | |
Registered User
Join Date: Sep 2019
Location: Essen/Germany
Age: 55
Posts: 463
|
LOL! Yeah, I also had bugfixes like this. Not so often, but it happens. Only last year I was analyzing a particular nasty bug from my work, and then I suddenly woke up at 3AM and knew the solution. I was so itching to try it that I couldn't sleep until I finally could go to office and test it. Quote:
You are right. Most of the time, I'm not thinking about particular instructions, but more about design approaches and algorithms in general. |
|
16 December 2020, 19:42 | #7 |
OCS forever!
Join Date: Mar 2019
Location: Birmingham, UK
Posts: 418
|
It’s the shower for me. Sometimes realise been standing there for 5 mins thinking
|
17 December 2020, 16:08 | #8 |
Shameless recidivist
Join Date: Jun 2012
Location: Duluth, Minnesota (USA)
Age: 38
Posts: 266
|
Yep Michael Abrash used to say that "the best optimizer is the one between your ears" - but it's a pretty good debugger as well.
|
17 December 2020, 17:08 | #9 | |
PSPUAE DEV
|
Quote:
I thought it was just me. I used to do this before I went to sleep every night. Its a very strange thing. Glad I wasnt not going nuts. I miss them days. |
|
17 December 2020, 19:59 | #10 |
Registered User
Join Date: Mar 2012
Location: UK
Posts: 1,895
|
In bed, late at night and dreaming is often where I solve programming issues!
ZZZZzzzzzz... |
17 December 2020, 20:02 | #11 |
Registered User
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,436
|
Yup. I often dream away to Amiga coding problems
Actually, I even go on some walks specifically to think about coding stuff in peace... |
17 December 2020, 20:37 | #12 |
I Identify as an Ewok
Join Date: Jul 2001
Location: North Lincolnshire
Age: 45
Posts: 2,356
|
I remember Jonathan 'Joffa' Smith RIP would say to me he did his best bug fixing on the crapper.
|
17 December 2020, 23:09 | #13 |
Registered User
Join Date: Sep 2019
Location: Essen/Germany
Age: 55
Posts: 463
|
|
17 December 2020, 23:51 | #14 |
Registered User
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
|
I do most of my serious debugging in my sleep to be fair.
I’ve solved some real corkers while driving too. |
18 December 2020, 04:19 | #15 |
Registered User
Join Date: May 2018
Location: Ireland
Posts: 691
|
While not programming on the Amiga i do do it full time, but yes agree with others, most of my ideas are resolved while chilling and away from the computer, gives a broader view of the overall problem than low level code perspective when looking at the code.
Some complex problems i just push them to the sub concious, let it work away and wake up in the morning with a solution, sounds mad but works (especially for complex algorithms) |
18 December 2020, 04:46 | #16 |
Registered User
Join Date: Oct 2012
Location: Italy
Age: 49
Posts: 2,947
|
I worked as Windows programmer in the past and i agree with lmimmfn
I experienced the same thing .... i wake up in the morning with a solution Not sure if we can call it "lateral thinking" |
18 December 2020, 12:40 | #17 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,379
|
|
18 December 2020, 14:59 | #18 |
Registered User
Join Date: Jul 2015
Location: Novi Sad, Serbia
Posts: 1,696
|
My friend (the programmer) told me that in some Japanese software company, there is a big Teddy Bear in the corner.
Now, you are programmer, and you have a problem. You don't go to your superior, and bother him with questions, but you first go to Teddy Bear, explain him the problem, and only if you don't figure it out after explaining, you then go to your superior. I think it makes perfect sense, because, people indeed, often asks the questions they know answer, but they don't bother to think. (the other cool rule they have, is that all programmers are wearing a hat (Trucker Cap), and if they wearing it opposite, that means: "Don't disturb me, I am solving some hard problem"). |
18 December 2020, 15:04 | #19 | |
Registered User
Join Date: Sep 2019
Location: Essen/Germany
Age: 55
Posts: 463
|
Quote:
I think that is something that I also learned quite some time ago. If you can't explain a problem properly, you don't understand it enough. And often you can already see the solution once you actually try to explain it to somebody else. |
|
18 December 2020, 15:26 | #20 |
Registered User
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,436
|
We had something similar at my last job: a small rubber duck you could balance on top of your monitor so you could explain your problem to it. However, if no rubber duck was available, one of your colleagues would also suffice as a rubber duck surrogate
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Diabolik" & "Dylan Dog" & "Tex" & "Time Runners" series | DamienD | request.Old Rare Games | 20 | 21 July 2022 16:58 |
"Voices8" 8 Channel Soundtracker "DemoSongI" song - "This is the Amiga with 8 Voices" | DemosongIHunter | request.Music | 45 | 23 May 2022 20:07 |
"Screech!! v2.41" & "Screech!! [AGA] v2.51" - "HD install" --> "ADFs" | DamienD | request.Old Rare Games | 45 | 15 June 2020 12:42 |
"Reminder "Lincs Amiga User Group aka "LAG" Meet Sat 5th of January 2013" | rockape | News | 4 | 30 January 2013 00:06 |
CD32 Image-Name-Bug: "...(bla)[!].zip" -> "...(bla)[" / "...[test].zip" -> "...[tes" | cfTrio | support.WinUAE | 8 | 18 December 2012 16:31 |
|
|