Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

1319101 Posts in 59257 Topics- by 50356 Members - Latest Member: wombatthebat

October 22, 2017, 12:15:16 am

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperTechnical (Moderator: ThemsAllTook)General programming discussion
Pages: 1 2 [3] 4 5 ... 9
Print
Author Topic: General programming discussion  (Read 8214 times)
JWki
Level 3
***


View Profile
« Reply #40 on: April 18, 2017, 10:57:30 pm »

Nah what gimp had is terrible but when I open say a node editor for materials I want to be able to pull that over to my second screen and have full sight on the scene view when playing around with it.
Logged
cathy121
Level 0
**


View Profile
« Reply #41 on: May 30, 2017, 06:34:39 am »

Hi, guys!

I am new to coding, so my question may look silly. My question is about PHP. As far as I understood it is a scripting language. I saw that there are PHP5 and PHP7. What about PHP 6? What is the biggest difference in all of them?
Logged
Prinsessa
Level 10
*****


Ava Skoog


View Profile WWW Email
« Reply #42 on: May 30, 2017, 07:23:04 am »

It seems PHP 6 doesn't really exist (except as some separate thing) and that they jumped straight from 5 to 7. There's some info here: http://www.hongkiat.com/blog/php7/

I'd actually never heard about the "spaceship" operator in any language before. I like it. Would make sorting less cluttered in a lot of languages.
Logged

cathy121
Level 0
**


View Profile
« Reply #43 on: June 02, 2017, 01:00:24 am »

Thank you for a link and explanation. It became more clear to me. I am still reading about PHP, do not get what does scalar date types mean? I understand that it only save one single value but what does it mean?
Logged
Ordnas
Level 0
***



View Profile WWW Email
« Reply #44 on: June 08, 2017, 10:40:38 am »

Thank you for a link and explanation. It became more clear to me. I am still reading about PHP, do not get what does scalar date types mean? I understand that it only save one single value but what does it mean?

Scalar data type like these: http://php.net/manual/en/language.types.intro.php:  boolean, integer, float and string?
Logged

Ordnas
Level 0
***



View Profile WWW Email
« Reply #45 on: June 08, 2017, 10:54:45 am »

Really considering Qt for the editor now. Docks. Code editor (not built in, but I easily added the web based Ace in a web view). Won't be having any Unicode issues. Cross-platform. I think I'm sold.


What about Visual Studio, the best IDE ever + Visual Assist X + zillion plug-ins + Incredibuild (in case you work in an office)?  Shocked
Logged

JWki
Level 3
***


View Profile
« Reply #46 on: June 08, 2017, 11:17:57 am »

Really considering Qt for the editor now. Docks. Code editor (not built in, but I easily added the web based Ace in a web view). Won't be having any Unicode issues. Cross-platform. I think I'm sold.


What about Visual Studio, the best IDE ever + Visual Assist X + zillion plug-ins + Incredibuild (in case you work in an office)?  Shocked

You misunderstand. They are talking about using QT for their own editor to use with their engine, not a code IDE.
Logged
InfiniteStateMachine
Level 10
*****



View Profile WWW
« Reply #47 on: June 08, 2017, 05:57:46 pm »

The visual studio environment is actually available for use to make your own editor via the visual studio isolated shell framework. It's insanely powerful and few people realize it's readily available.

Of course, being a WPF framework, this is strictly windows only so fair warning.

https://msdn.microsoft.com/en-us/library/bb685691.aspx

Logged

cathy121
Level 0
**


View Profile
« Reply #48 on: June 09, 2017, 06:58:38 am »

Thank you for a link and explanation. It became more clear to me. I am still reading about PHP, do not get what does scalar date types mean? I understand that it only save one single value but what does it mean?

Scalar data type like these: http://php.net/manual/en/language.types.intro.php:  boolean, integer, float and string?

Thank you! I am going right now through boolean, integer and so on. Takes time to understand it. The other question appeared in my mind. Is it right that with PHP7 errors not that often lead to crashes?
Logged
Ordnas
Level 0
***



View Profile WWW Email
« Reply #49 on: June 09, 2017, 07:10:18 am »

Please, PLEASEEEEE  WTF, learn a programming language first such as C, Java or Python, so you have a clear understanding of what is going on "under the hood", or just for a general knowledge of how a computer works. Anyway, of course errors lead to crashes.
Logged

ThemsAllTook
Moderator
Level 10
******



View Profile WWW
« Reply #50 on: June 09, 2017, 05:09:13 pm »

Let's not be hostile or condescending toward people trying to learn, please.
Logged

Ordnas
Level 0
***



View Profile WWW Email
« Reply #51 on: June 10, 2017, 09:57:01 am »

Ops, I apologise guys, I didn't mean to be hostile, I was just trying to say an advice in a informal way (otherwise I wouldn't put a funny emoticon). I will be more carefully next time. Sorry Cathy!  Embarrassed If you have any other question just ask, I will not bite, I promise!  Smiley
Logged

cathy121
Level 0
**


View Profile
« Reply #52 on: June 12, 2017, 12:08:13 am »

Yes, I started to learn C programming language, it takes time. Smiley I know my questions may look not that smart because I am still on the first learning stage. Going through many articles and tutorials right now. PHP stuck in my mind because I was looking for something to minimise the loading time. Yesterday, I was reading through this and many questions appeared in my mind. I googled all things which were not clear to me but I still do not get one thing. What does 'Implementation of an abstract syntax tree for generating bytecode' mean?
Do I have to understand it or it is better not to go into the details right now?
Logged
Garthy
Level 9
****


Quack, verily


View Profile WWW
« Reply #53 on: June 12, 2017, 01:28:37 am »

Hi cathy121,

PHP is a popular web development language. It is worth knowing if your goal is to write server-side code to serve dynamic webpages. Apart from that, it is actually a poor language to start with, use, or learn with. I would strongly recommend starting with something else.

C is a well-established low-level language with considerable history. It is not difficult to learn but it is difficult to work with when starting out. It is worth knowing eventually but I would avoid it initially.

I would recommend a different starting point, depending on what you want to achieve.

Java is a well-designed language, and could be worth a look. It is sensible and scales well. There are a few oddities and the organisation that now owns it is a bit of a hostile entity, but it is a good starting point anyway.

Scripting languages will let you get on with the process of experimenting with programming while hiding some of the more difficult concepts from you, such as memory management. They will generally have the easiest learning curve but you need to expand outward into other things eventually as they tend not to scale well to large projects. Python is a popular scripting language and might be a good one to start with. I recommend Ruby personally, but it is less popular.

You might also want to look into an existing engine (eg. Unity) if you want to mess about with things and get a tangible output without needing to learn as much about programming. If your goal is the end result, check this out. If your goal is learning to write code, try a language.

> What does 'Implementation of an abstract syntax tree for generating bytecode' mean?

It is just talking about an improvement in the process of converting the code you write into a form that the computer can run for you. Don't worry about it for now, it will have no effect on your learning.

Good luck.
Logged
InfiniteStateMachine
Level 10
*****



View Profile WWW
« Reply #54 on: June 12, 2017, 04:42:23 pm »

I think a large portion of the programming populace could go through life without being able to explain  'Implementation of an abstract syntax tree for generating bytecode' so I wouldn't worry about it :D
Logged

Garthy
Level 9
****


Quack, verily


View Profile WWW
« Reply #55 on: June 12, 2017, 05:47:58 pm »

Those who use hammers versus those who create hammers.

EDIT: Some clarification as my comment was a bit vague:

Many people use programming languages, some with considerable skill, without necessarily knowing the innards of compilers or bytecode interpreters/engines, which far less people understand in depth.

Some people use hammers (or other tools), some with considerable skill, without necessarily having the ability to construct a quality hammer themselves.
« Last Edit: June 13, 2017, 04:27:04 pm by Garthy » Logged
Ordnas
Level 0
***



View Profile WWW Email
« Reply #56 on: June 13, 2017, 11:50:09 am »

Yes, I started to learn C programming language, it takes time. Smiley I know my questions may look not that smart because I am still on the first learning stage. (...)

I agree with Garthy, start with Unity if you want to make games "right away", or Game Maker if you don't mind making a 2D game (Game Maker is very easy to grasp). If you like Game Maker, and you are thinking of a career as a programmer, then you could start to study a scripting language like Phyton or Lua.  Smiley
Logged

Garthy
Level 9
****


Quack, verily


View Profile WWW
« Reply #57 on: June 13, 2017, 04:25:21 pm »


or Game Maker if you don't mind making a 2D game

I understand that Game Maker is a good choice for 2D games if you go down the engine path. I don't know a lot about it myself though. :}
Logged
Ordnas
Level 0
***



View Profile WWW Email
« Reply #58 on: June 16, 2017, 02:35:52 am »


or Game Maker if you don't mind making a 2D game

I understand that Game Maker is a good choice for 2D games if you go down the engine path. I don't know a lot about it myself though. :}


I used it a bit, it is very easy to use, you can create fast prototypes with drag-and-drop functionalities in the scene.

In a post I read that that a teacher, that had never programmed before, in a month, made a learning-game for her students... I think that is remarkable for this engine  Grin
Logged

cathy121
Level 0
**


View Profile
« Reply #59 on: June 16, 2017, 06:15:17 am »

Hi cathy121,

PHP is a popular web development language. It is worth knowing if your goal is to write server-side code to serve dynamic webpages. Apart from that, it is actually a poor language to start with, use, or learn with. I would strongly recommend starting with something else.

C is a well-established low-level language with considerable history. It is not difficult to learn but it is difficult to work with when starting out. It is worth knowing eventually but I would avoid it initially.

I would recommend a different starting point, depending on what you want to achieve.

Java is a well-designed language, and could be worth a look. It is sensible and scales well. There are a few oddities and the organisation that now owns it is a bit of a hostile entity, but it is a good starting point anyway.

Scripting languages will let you get on with the process of experimenting with programming while hiding some of the more difficult concepts from you, such as memory management. They will generally have the easiest learning curve but you need to expand outward into other things eventually as they tend not to scale well to large projects. Python is a popular scripting language and might be a good one to start with. I recommend Ruby personally, but it is less popular.

You might also want to look into an existing engine (eg. Unity) if you want to mess about with things and get a tangible output without needing to learn as much about programming. If your goal is the end result, check this out. If your goal is learning to write code, try a language.

> What does 'Implementation of an abstract syntax tree for generating bytecode' mean?

It is just talking about an improvement in the process of converting the code you write into a form that the computer can run for you. Don't worry about it for now, it will have no effect on your learning.

Good luck.



Wow! Thank you so much for all details! Probably, soon will post other questions Grin Smiley
Logged
Pages: 1 2 [3] 4 5 ... 9
Print
Jump to:  

Theme orange-lt created by panic