|
Post by stratego on Jan 8, 2017 9:22:16 GMT -5
|
|
|
Post by wascalwywabbit on Jan 8, 2017 14:00:44 GMT -5
Not a programmer, but know enough to get them. Particularly amused by the bug chair fix and the milk... As for missing the semicolon ... time for a white space language, bro?
|
|
|
Post by ntsheep on Jan 8, 2017 15:06:32 GMT -5
LOL! Love the milk and eggs one.
|
|
|
Post by stratego on Jan 8, 2017 15:22:37 GMT -5
Cory Trese don't you have anything to put in here, basically all you do is programming while this is only my free time hobby😈
|
|
|
Post by stratego on Jan 8, 2017 15:27:01 GMT -5
|
|
|
Post by stratego on Jan 8, 2017 15:48:40 GMT -5
|
|
|
Post by amongstshadows on Jan 8, 2017 23:28:12 GMT -5
That awkward moment when you claim you'll never program again because you can't find the missing semi-colon
|
|
|
Post by amongstshadows on Jan 9, 2017 1:47:51 GMT -5
Cory Trese don't you have anything to put in here, basically all you do is programming while this is only my free time hobby😈 Cory Trese is hiding his secrets lol
|
|
|
Post by stratego on Jan 9, 2017 3:59:11 GMT -5
Cory Trese don't you have anything to put in here, basically all you do is programming while this is only my free time hobby😈 Cory Trese is hiding his secrets lol Lol, he is indeed, maybe he has some dark ones😉
|
|
|
Post by amongstshadows on Jan 9, 2017 6:15:30 GMT -5
stratego I'm still trying to figure out how to make a more sophisticated random number generator lol. Saw a post on cplusplus where the guy called a random number 1000 times and stored them in an array, and then called for a random number 1-1000, and that decided the seed number. Was quite clever
|
|
|
Post by bookworm21 on Jan 9, 2017 8:46:48 GMT -5
@amomgstshadows what's wrong with using the time as the seed? Is this for an embedded application? Just thought that actually you might want to generate faster than the RTC updates - never mind
|
|
|
Post by ntsheep on Jan 9, 2017 11:01:00 GMT -5
In the old days when I programed in BASIC, I always used the time as my seed. All my programs would have the command setting it up as one of the first lines, even if I didn't use it later. Just became a thing for me.
|
|
|
Post by amongstshadows on Jan 9, 2017 13:02:11 GMT -5
Apparently using time for the seed isn't a good programming habit. Seems all the easy ways to do things are bad lol
|
|
|
Post by ntsheep on Jan 9, 2017 14:15:30 GMT -5
I don't care about good\bad habit coding ideas because it varies depending on the language. Have to remember BASIC was created in 1964, I started in the late 80's. Lots has change since then. There's no such thing as bad code if your program does what it's suppose to.
|
|
|
Post by Cory Trese on Jan 9, 2017 14:33:52 GMT -5
The title of this thread should be ...
"only programmers shell understand"
|
|