[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]

/templeos/ - The 64-Bit Temple Operating System

Discuss God and Code.

Name
Email
Subject
REC
STOP
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Flag
Embed
(replaces files and can be used instead)
Options
dicesidesmodifier

Allowed file types:jpg, jpeg, gif, png, webp,webm, mp4, mov, swf, pdf
Max filesize is16 MB.
Max image dimensions are15000 x15000.
You may upload5 per post.


File: 1424589535625.jpg (13.1 KB,259x346,259:346,download.jpg)

 No.1148

Hey Terry,
Do you have any wise programming tips you could share with us?
What is your opinion on C++ and the STL? Any thoughts on where "modern" languages are headed?
Thanks,
big fan
____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.1149

My wisest tip is to use the switch() statement. Many people think a switch() statement is identical to if-else-if-else…

My other wisest tip is that naming of functions and variable is one of the most important skills.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.1150

>>1149

When it comes to naming things, at some point you will invent something brand-new. At that point, you should invent a brand new name because it no longer qualifies as the same sort of item that already exists.

I called my filesystem "Native" for a long time, then picked an off-the-wall name, "RedSea". Marketing is a fascinating field. Don't under-rate what marketeers do when they pick names that work in many countries. I named my C-language "C+" at first and finally came-up with "HolyC".

http://www.templeos.org/Wb/Doc/HolyC.html

HolyC is not very modern. You will use one language at work that is nasty and modern; at play, you can use HolyC and dodge the nagging-preaching computer people.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.1151

>>1150

By modern, I mean with lots of compile-time checking… rigid type checking with "const" and all that.

In theory, type checking prevents bugs early. I find it an annoying pain in the ass.

There is no cruft in HolyC.

Integers are U0,I0,I8,U8,I16,U16,I32,U32,I64,U64.

You don't need to do big constants with a "l".

> long long i=12345678901234l;


PrintF() does not need the "%ld", just "%d".
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.1362

>>1151

Where can I download the HolyC Compiler for Linux? I want to try it.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.1363

>>1362

There is no Linux or Windows HolyC compiler.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



[Return][Go to top][Catalog][Nerve Center][Random][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]