-3
Challenge: Create a program that prints out the size of its own source code file.
For example, a 35 bytes size of program must print out 35. Pre-calculation is not valid. What I mean by pre-calculation is:
// test.js -> its size is 15 byte
console.log(15)
It must dynamically calculate the size of own source code file. The winner is who prints the minimum number , same as who has the minimum size of code.

Em,
console.log(15)is valid? – Luis felipe De jesus Munoz – 2018-07-12T12:07:16.233Well it is not a good solution, if you calculate first and print :), pre-calculation is not valid. – vvvnn – 2018-07-12T12:08:59.280
1You should set some rules for cases like that so – Luis felipe De jesus Munoz – 2018-07-12T12:09:29.490
2
The program should dynamically calculate its own length then? You should mention such rules as part of the question (And have you seen the "Sandbox for Proposed Challenges"? You can post your questions there first and get help making them clearer and more likely to yield useful, interesting answers.)
– sundar - Reinstate Monica – 2018-07-12T12:11:18.967Yes it must be dynamically. thanks for advice, I will get help there to make it clear. – vvvnn – 2018-07-12T12:13:15.487
1Do you mean by reading the size of its source file or were you thinking of some other means? – Neil – 2018-07-12T12:14:43.607
@Neil , I mean the size of the source code. – vvvnn – 2018-07-12T12:16:02.177
2Possible duplicate. – Erik the Outgolfer – 2018-07-12T12:28:40.800
@Mr.Xcoder It must dynamically calculate the size of own source code file. – Adám – 2018-07-12T12:30:35.990
Is not "reading the source code file and count the bytes" the only form of "dynamically calculate" possible? I feel that "calculate" gives the impression we can somehow work out how big the source code is from some other values. – gastropner – 2018-07-12T12:37:22.403
calculate can also mean enumerate, i.e. to count. – Adám – 2018-07-12T12:40:59.717
1Can the program contain the name of its own source file? – ngm – 2018-07-12T13:23:07.620
1So...? Anything that would count as "reading your own source code" and invalid for normal quine challenge is valid here? – user202729 – 2018-07-12T15:52:56.667
Welcome to PPCG! Your challenge has been put on hold. It means it can be reopen once clarification questions have been addressed. I do have one such question: usually programs and functions are allowed, do you allow functions? – JayCe – 2018-07-13T01:26:35.917
So, is
print(2*5)considered dynamic calculate? – tsh – 2018-07-13T09:50:13.233