Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #32006

Re: Naming conventions, functions

Newsgroups comp.lang.javascript
Date 2016-12-27 20:26 -0800
References <82ce9366-59bc-4b10-81a7-fadb8d81e9cc@googlegroups.com>
Message-ID <6f7d993e-1dbf-4720-bc7d-5834468f063d@googlegroups.com> (permalink)
Subject Re: Naming conventions, functions
From jonas.thornvall@gmail.com

Show all headers | View raw


Den onsdag 28 december 2016 kl. 05:12:25 UTC+1 skrev jonas.t...@gmail.com:
> I usually write my javascript directly into a single HTML file, but that is really not ideal for bigger programming projects.
> 
> Now i've started to break down the code into JS files, but i do not really get howto know in which JS file the actual function that is called reside?
> 
> I do not use any special software that create an oversight in which JS file each function reside?
> 
> I only use texteditors and Yaldex free javascript editor for some debugging.
> I was thinking put digits upon the files and functions to see where they reside.
> Because it is not easy if you have 20 files and reading a function call to remember in which file the actual function reside.
> 
> How do one deal with this, i see two solutions put digits/characters before file and function name, get an editor that list the functions in each file but is there such where it is easy to see where the function resides.
> 
> JT

How about this?

Files 1xxxxx.js
Functions xxxxxx_1()

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Naming conventions, functions jonas.thornvall@gmail.com - 2016-12-27 20:12 -0800
  Re: Naming conventions, functions jonas.thornvall@gmail.com - 2016-12-27 20:26 -0800
    Re: Naming conventions, functions $Bill <news@todbe.com> - 2016-12-27 22:23 -0800
  Re: Naming conventions, functions "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-12-28 07:37 -0800

csiph-web