- while() and "Loop(3) { _Loop(4)..." aren't "impenetrable". - 8 Updates
- Merry Festivus - 3 Updates
- Check yourself -- You may be wrong. - 1 Update
- Comp.Lang.C++ ( according to me ). - 1 Update
Jeff-Relf.Me <@.>: Dec 26 12:36PM -0800 |
Paavo Helde <myfirstname@osa.pri.ee>: Dec 26 11:17PM +0200 On 26.12.2016 22:36, Jeff-Relf.Me wrote: >> impenetrable. Your _Loop macros could be probably upgraded to use >> recursive templates instead of boring while cycles, for example! > while() and "Loop(3) { _Loop(4)..." aren't "impenetrable", last I checked. I guess this is something we can disagree on. _Loop(4) however is just undefined behavior, one is not allowed to use such identifiers. PS. I am currently in the process of refactoring some code from a previous coworker who liked macros and templates very much. This task has been postponed for 10 years because the code is so intractable. I'm pretty sure this coworker thought that he wrote the best code and followed the best coding conventions. |
"Öö Tiib" <ootiib@hot.ee>: Dec 26 01:24PM -0800 On Monday, 26 December 2016 22:36:39 UTC+2, Jeff-Relf.Me wrote: > > impenetrable. Your _Loop macros could be probably upgraded to use > > recursive templates instead of boring while cycles, for example! > while() and "Loop(3) { _Loop(4)..." aren't "impenetrable", last I checked. Huh? Even name of that _Loop is illegal both by C++ (17.4.3.1.2) and C (7.1.3) standards. When noobs use reserved names then behavior of program is undefined. |
Jeff-Relf.Me <@.>: Dec 26 01:51PM -0800 |
Jeff-Relf.Me <@.>: Dec 26 01:54PM -0800 |
"Öö Tiib" <ootiib@hot.ee>: Dec 26 02:27PM -0800 On Monday, 26 December 2016 23:54:44 UTC+2, Jeff-Relf.Me wrote: > Local definitions override previous ones. > Underscores are too useful to not use. > "Standards" are like assholes, everyone's got one. I am not sure what standards you talk about. I meant ISO standards of those two languages. Definitions of how the compilers of those languages should be implemented. Now if you violate the standards as user of compiler then standard- conforming compiler may (but likely won't) yes rip you second asshole. |
Paavo Helde <myfirstname@osa.pri.ee>: Dec 27 01:17AM +0200 On 26.12.2016 23:51, Jeff-Relf.Me wrote: >> such identifiers. > Macros are _good_, you should use them. > Who wouldn't prefer Loop(4) over "for( i=0; I <= 3; i++ )" ? I started to write down a 10-bullet answer for that question, but then I realized that you must be just trolling as nobody can't be that stupid. > You must be prejudiced; afraid of change. I have changed away from C and macro madness and have no plans to go back, thank you. |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Dec 26 03:26PM -0800 On Monday, December 26, 2016 at 6:17:46 PM UTC-5, Paavo Helde wrote: > I have changed away from C and macro madness and have no plans to go > back, thank you. I believe in macros (and Crystal Light ... because I believe in me). I have created a full pre-processor language in CAlive that is a complete subset of the language, such that things are exposed through arrays and indices (when reference), such as "filename.ext[200]" to reference the 200th line of the file filename.ext. The on-disk file isn't changed, but in memory it is changed. You can insert lines, replace anything, etc. Full editing is available through the macro language, and there is also an ability to write out a hard commit to disk so that a section between a starting marker and ending marker is physically updated on disk. [singing] "If I ever the time ... to complete this language of mine ... then maybe I can make it sing ... and become a real, yes a real thing." But, we shall see, Paavo. We shall see. Best regards, Rick C. Hodgin |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Dec 26 11:35AM -0800 > http://www.dailyedify.com/science-and-faith-adversaries-or-complementary-partnership/ > C.S. Lewis believed in the G-d of the Bible and evolution. Ben > Shapiro at dailywire.com has somewhat similar beliefs. To acknowledge evolution is to place death before sin. The Bible teaches that death was the result of sin, and did not precede sin, that the world God created was perfect and that there was no death. There was no fighting. Animals lived together in harmony, etc. It was paradise on Earth. But when sin entered in, that's when death came, and disease, and everything else that we have in this world today. Evolution directly and fully contradicts the Bible, and places the the death of Jesus Christ as being absolutely meaningless. To accept evolution is to deny God with a full force rebellion against Him. You might as well be spitting in His face. Best regards, Rick C. Hodgin |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Dec 26 11:59AM -0800 Death is an enemy. It is judgment for sin. It is an enemy Jesus defeated at the cross. It's why we need Jesus. Another enemy of God, Satan, is teaching man false things in an attempt to suppress knowledge of sin, death, our need of salvation, and the future end of all who aren't saved. https://mobile.twitter.com/aigkenham/status/813374136693231618 http://biblehub.com/kjv/1_corinthians/15-26.htm 26 The last enemy that shall be destroyed is death. Best regards, Rick C. Hodgin |
Louis Krupp <lkrupp@nospam.pssw.com.invalid>: Dec 26 01:55PM -0700 On Sat, 24 Dec 2016 17:12:35 +0000, Mr Flibble >>> (a good bet usually for someone with such an Anglo-Saxon name). >> Except that both 'Gareth' and 'Owen' come from Welsh. >All the same. They're not the same. Welsh, a survivor of the language that was spoken in what's now southern Britain before the Romans came, is like a Hebrew National hot dog. English, which you're calling Anglo-Saxon, is like sausages. Louis |
Jeff-Relf.Me <@.>: Dec 26 12:49PM -0800 |
Jeff-Relf.Me <@.>: Dec 26 11:43AM -0800 |
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com. |
No comments:
Post a Comment