flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pctechtv <ch...@pctechtv.com>
Subject function using method name?
Date Tue, 21 Apr 2015 18:29:51 GMT
In an online training video I am watching the teacher in Actionscript names
his function the same name as a method of the object in the functions
context. Is this a good programing practice?
			private function navigateDown():void			{				if(!fileGrid.selectedItem)			
{					var nothingSelected:NothingSelected = new NothingSelected();				}			
fileGrid.navigateDown();				updatePath();			}




--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/function-using-method-name-tp10140.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Mime
View raw message