English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 16 December 2020, 16:27   #1
sparhawk
Registered User
 
sparhawk's Avatar
 
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..
sparhawk is offline  
Old 16 December 2020, 16:34   #2
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,986
Quote:
Originally Posted by sparhawk View Post
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..
Have solved numerous problems when driving on my own or taking the dog out for a walk,you're not alone
Galahad/FLT is offline  
Old 16 December 2020, 16:53   #3
rothers
Registered User
 
Join Date: Apr 2018
Location: UK
Posts: 487
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.
rothers is offline  
Old 16 December 2020, 16:55   #4
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
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 ..
ross is offline  
Old 16 December 2020, 17:48   #5
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
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.
phx is offline  
Old 16 December 2020, 18:14   #6
sparhawk
Registered User
 
sparhawk's Avatar
 
Join Date: Sep 2019
Location: Essen/Germany
Age: 55
Posts: 463
Quote:
Originally Posted by ross View Post
I did code debugging or made effects during my REM phase

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:
Originally Posted by phx View Post
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.


You are right. Most of the time, I'm not thinking about particular instructions, but more about design approaches and algorithms in general.
sparhawk is offline  
Old 16 December 2020, 19:42   #7
Antiriad_UK
OCS forever!
 
Antiriad_UK's Avatar
 
Join Date: Mar 2019
Location: Birmingham, UK
Posts: 418
It’s the shower for me. Sometimes realise been standing there for 5 mins thinking
Antiriad_UK is offline  
Old 17 December 2020, 16:08   #8
commodorejohn
Shameless recidivist
 
commodorejohn's Avatar
 
Join Date: Jun 2012
Location: Duluth, Minnesota (USA)
Age: 38
Posts: 260
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.
commodorejohn is offline  
Old 17 December 2020, 17:08   #9
FOL
PSPUAE DEV
 
FOL's Avatar
 
Join Date: Nov 2006
Location: Wales / UK
Age: 45
Posts: 5,999
Send a message via MSN to FOL
Quote:
Originally Posted by sparhawk View Post
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..

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.
FOL is offline  
Old 17 December 2020, 19:59   #10
Havie
Registered User
 
Havie's Avatar
 
Join Date: Mar 2012
Location: UK
Posts: 1,893
In bed, late at night and dreaming is often where I solve programming issues!

ZZZZzzzzzz...
Havie is offline  
Old 17 December 2020, 20:02   #11
roondar
Registered User
 
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,408
Yup. I often dream away to Amiga coding problems
Actually, I even go on some walks specifically to think about coding stuff in peace...
roondar is online now  
Old 17 December 2020, 20:37   #12
Steve
I Identify as an Ewok
 
Steve's Avatar
 
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.
Steve is offline  
Old 17 December 2020, 23:09   #13
sparhawk
Registered User
 
sparhawk's Avatar
 
Join Date: Sep 2019
Location: Essen/Germany
Age: 55
Posts: 463
Quote:
Originally Posted by roondar View Post
Yup. I often dream away to Amiga coding problems

So, lets hope that I gain some insights tonight.
sparhawk is offline  
Old 17 December 2020, 23:51   #14
mcgeezer
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.
mcgeezer is offline  
Old 18 December 2020, 04:19   #15
lmimmfn
Registered User
 
Join Date: May 2018
Location: Ireland
Posts: 672
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)
lmimmfn is online now  
Old 18 December 2020, 04:46   #16
chip
Registered User
 
Join Date: Oct 2012
Location: Italy
Age: 49
Posts: 2,942
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"
chip is offline  
Old 18 December 2020, 12:40   #17
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
Quote:
Originally Posted by Antiriad_UK View Post
It’s the shower for me. Sometimes realise been standing there for 5 mins thinking
Me too!
Daedalus is online now  
Old 18 December 2020, 14:59   #18
d4rk3lf
Registered User
 
d4rk3lf's Avatar
 
Join Date: Jul 2015
Location: Novi Sad, Serbia
Posts: 1,645
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").
d4rk3lf is offline  
Old 18 December 2020, 15:04   #19
sparhawk
Registered User
 
sparhawk's Avatar
 
Join Date: Sep 2019
Location: Essen/Germany
Age: 55
Posts: 463
Quote:
Originally Posted by d4rk3lf View Post
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 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.
sparhawk is offline  
Old 18 December 2020, 15:26   #20
roondar
Registered User
 
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,408
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
roondar is online now  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 14:38.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10215 seconds with 15 queries