Off Topic > Off Topic
Programming Megathread
<< < (21/241) > >>
Pecon:

--- Quote from: Foxscotch on October 30, 2015, 04:49:33 PM ---and you get the advantage of separating logic from design

--- End quote ---
This is why require_once is a thing. In my forum system I made all my logic into functions and put them in a functions.php file. Then from each page file I just do require_once 'functions.php'; and can make the code on that particular file really uncomplicated by just calling the functions which do all the work.

PHP lifehack: You can also use require_once on an html file to simply import it's text. Really useful if you want pages to have a consistent header or footer that is derived from just one html file.
DJ Charizard:
I might as well just tell you guys what I know.

HTML
Java
Javascript
VB.Net
Python
C
and finally C++

At least that what I can remember...
DrHitius:
why does everyone forget HLSL
Otis Da HousKat:

--- Quote from: DrHitius on October 30, 2015, 05:44:58 PM ---why does everyone forget HLSL

--- End quote ---
Because they haven't worked with graphics problems?
Headcrab Zombie:
Yeah you can't just say "how did you forget x" because there's so many
Navigation
Message Index
Next page
Previous page

Go to full version