• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Design & Development v
« Previous 1 … 5 6 7 8 9 … 11 Next »
Where are the Erlang Style/Coding guidelines from Bjorn?

 
  • 1 Vote(s) - 5 Average
Where are the Erlang Style/Coding guidelines from Bjorn?

micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,686
Threads: 186
Joined: Jun 2012
#4
02-07-2015, 11:29 AM
(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 Smile)
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
Where are the Erlang Style/Coding guidelines from Bjorn? - by ggaliens - 02-06-2015, 10:04 PM
RE: Where are the Erlang Style/Coding guidelines from Bjorn? - by micheus - 02-06-2015, 10:14 PM
RE: Where are the Erlang Style/Coding guidelines from Bjorn? - by ggaliens - 02-06-2015, 10:26 PM
RE: Where are the Erlang Style/Coding guidelines from Bjorn? - by micheus - 02-07-2015, 11:29 AM
RE: Where are the Erlang Style/Coding guidelines from Bjorn? - by ggaliens - 02-08-2015, 04:20 AM
RE: Where are the Erlang Style/Coding guidelines from Bjorn? - by micheus - 02-08-2015, 11:49 AM
RE: Where are the Erlang Style/Coding guidelines from Bjorn? - by ggaliens - 02-08-2015, 02:00 PM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode