[ / / / / / / / / ] [ b / n / boards ] [ operate / meta ] [ ]

/templeos/ - The 64-Bit Temple Operating System

Discuss God and Code.

Catalog

The development of the fully open source software behind 8ch.net that anyone can use ("infinity") is a massive undertaking. Please consider supporting the Infinity Development Group on Flattr by clicking here. Your donations also contribute patches back to vichan, infinity's upstream and engine on which more than one hundred imageboards rely worldwide.
8chan Bitcoin address: 1NpQaXqmCBji6gfX8UgaQEmEstvVY7U32C | Buy Bitcoin easily in the US | Buy Bitcoin anonymously all over the world | Bitcoin FAQ
Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options
dicesidesmodifier
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 1 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

 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.

 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.

 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".

 No.1362

>>1151

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


 No.1363

>>1362

There is no Linux or Windows HolyC compiler.




[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / ] [ b / n / boards ] [ operate / meta ] [ ]