Computer Science (intelligence Central)

Discussion in 'Taylor's Tittle-Tattle - General Banter' started by SkylaRose, Apr 25, 2023.

  1. Keighley

    Keighley First Team

    Should ‘of’ worked if you used the grammar checker. :D

    Oxford University Press: impressive!
     
    SkylaRose likes this.
  2. Keighley

    Keighley First Team

    Makes me wonder: are we the only two book authors on the forum? @Ilkley? @Bwood_Horn?

    EDIT: actually, I think @EnjoytheGame is another.
     
  3. SkylaRose

    SkylaRose Administrator Staff Member

    That's a good point actually. We should of teamed up and written a text book on how to run a football club and given it to Gino for Christmas. Could of signed the inside cover with quotes from the forum members about how he's done these past five/six years.

    I'll have to look out for their books then. :)
     
    Keighley likes this.
  4. Bwood_Horn

    Bwood_Horn Squad Player

    No 'full' books. A book chapter, not enough papers (but OKish journals) and far too many reports for industrial clients. I'm out of the lab/academia now and putting out a report every three weeks for my new taskmasters.
     
    Keighley likes this.
  5. Bwood_Horn

    Bwood_Horn Squad Player

    Otter, GarbeliaHornet and SkylaRose like this.
  6. SkylaRose

    SkylaRose Administrator Staff Member

    I pondered that but when I took that away Word flagged it as incorrect. I suppose because it's a wordy title the assumption is it forms a sentence (which is what it is) hence why the full stop is necessary. But I do get your angle as well. I think it's probably correct either way, it just depends on how you read it.
     
  7. The undeniable truth

    The undeniable truth First Team Captain

  8. SkylaRose

    SkylaRose Administrator Staff Member

    This is what the working code will look like on the pages. Again, early prototypes here but I like the highlight background, stands out from the standard white. Using 'Consolas' as the font type makes it look more PC :p

    upload_2024-3-26_23-31-41.png
     
  9. Ilkley

    Ilkley Formerly known as An Ilkley Orn Baht 'at

    Looks good, but I would check with someone who’s red/green colour blind whether the green is still clearly visible.
     
  10. Otter

    Otter Gambling industry insider

    It looks good with the image however I would change two things, the font of "Ada 2021" doesn't fit with everything else. Also the strapline is a bit too wordy.
     
  11. Otter

    Otter Gambling industry insider

    The code example couldn't be clearer, keywords in blue, comments in dark green and the rest in black using a fixed width font. I assume that as this looks like a first "Hello world (Ada)" example and later examples have fewer comments, everyone has their different styles when it comes to comments, when I worked at Siemens they insisted that every line had a comment (tedious), my last two employments say that well written code and good nomenclature for functions, classes and variables means that comments then can be kept to a minimum and not clutter up the code.

    It depends upon what your target audience is, is this book for someone who's never coded before, or an experienced coder who wants to branch into another language? Then I assume that the book is (will be) written accordingly.
     
  12. SkylaRose

    SkylaRose Administrator Staff Member

    I agree. Having one in colour and one in black and white print is always an option going forward. Black and white is the general rule, if they do well enough than a colour print can be put forward later on.
     
  13. SkylaRose

    SkylaRose Administrator Staff Member

    Reason I chose red for and blue was to make the name of the language stand out from the book theme. 2021 is the current standard version of the language and I wanted that to stand out with the language name. I can always change the colours to blend more. I guess with the strapline I wanted to make sure people knew the target audience (beginners) before the even opened the book up.

    Yes the code would be the very first Ada program a beginner would write. In the actual text, each statement would be discussed in more detail so people understand what they mean and how they operate. Comments are generally always pretty heavy going on an initial program but further along most of the programs only have comments at the top and before complex pieces of logic. I think you make a good point though, it's always better to suspend your usage of comments in any program. I've seen some actual video game code with comments splashed all over it. I've always had a personal rule of thumb to only comment if I personally might need prompting what something does when I go back and read it. :)
     
    Otter likes this.

Share This Page