|
Where are the Erlang Style/Coding guidelines from Bjorn?
|
|
02-07-2015, 11:29 AM
Post: #4
|
||||
|
||||
RE: Where are the Erlang Style/Coding guidelines from Bjorn?
(02-06-2015 10:26 PM)ggaliens Wrote: do you know how a developer is supposed to handle situation where he/she wants to "insert" some new function in existing menu ... but the numbers for string translation are already "PACKED" so that no integer based insert canbe done w/o large resequcing ?You know, the numbers must be unique for each function name defined in a module. If the new insertions are made in his/her plugin code there is no problem since the strings are stored in .lang for that source file ({source file, [{funcion_name, [{num, string},...]]}, ...]}). If the new insertions are made in a existent code, then he/she should look for the next available number in the sequence for that function name. Quote:I assume it would be BAD to renumber all the items in the list as that would break the translation files ?yes. Have I clarified your doubts? (you know, sometimes I don't know use the right English words )
|
||||
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
Where are the Erlang Style/Coding guidelines from Bjorn? - ggaliens - 02-06-2015, 10:04 PM
RE: Where are the Erlang Style/Coding guidelines from Bjorn? - micheus - 02-06-2015, 10:14 PM
RE: Where are the Erlang Style/Coding guidelines from Bjorn? - ggaliens - 02-06-2015, 10:26 PM
RE: Where are the Erlang Style/Coding guidelines from Bjorn? - micheus - 02-07-2015 11:29 AM
RE: Where are the Erlang Style/Coding guidelines from Bjorn? - ggaliens - 02-08-2015, 04:20 AM
RE: Where are the Erlang Style/Coding guidelines from Bjorn? - micheus - 02-08-2015, 11:49 AM
RE: Where are the Erlang Style/Coding guidelines from Bjorn? - ggaliens - 02-08-2015, 02:00 PM
|
User(s) browsing this thread: 1 Guest(s)




)
@MicheusVieira
MicheusVieira
Micheuss
micheus4wings3d